forked from lavalink-devs/Lavalink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
81 lines (70 loc) · 2.72 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
buildscript {
ext {
springBootVersion = '2.1.8.RELEASE'
gradleGitVersion = '1.5.2'
sonarqubeVersion = '2.6.2'
kotlinVersion = '1.3.61'
testLoggerVersion = '1.6.0'
}
repositories {
mavenLocal()
maven { url "https://plugins.gradle.org/m2/" }
maven { url 'http://repo.spring.io/plugins-release' }
maven { url 'https://jitpack.io' }
}
dependencies {
classpath "gradle.plugin.com.gorylenko.gradle-git-properties:gradle-git-properties:${gradleGitVersion}"
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:${sonarqubeVersion}"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlinVersion"
classpath "com.adarshr:gradle-test-logger-plugin:$testLoggerVersion"
}
}
allprojects {
repositories {
mavenCentral() // main maven repo
jcenter() // JDA and some other stuff
mavenLocal() // useful for developing
maven { url "https://jitpack.io" } // build projects directly from github
maven { url 'https://m2.dv8tion.net/releases' }
}
group = 'lavalink'
}
subprojects {
apply plugin: 'java'
apply plugin: 'idea'
if (project.hasProperty("includeAnalysis")) {
project.logger.lifecycle("applying analysis plugins")
apply from: "../analysis.gradle"
}
compileJava.dependsOn 'clean'
compileJava.options.encoding = 'UTF-8'
compileJava.options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
task sourceJar(type: Jar) {
from sourceSets.main.allJava
}
ext {
//@formatter:off
lavaplayerVersion = '1.3.78'
lavaplayerIpRotatorVersion = '0.2.3'
jdaNasVersion = '1.1.0'
jappVersion = '1.3.2-MINN'
koeVersion = '1.0.1'
lavaDspVersion = '0.7.7'
springBootVersion = "${springBootVersion}"
springWebSocketVersion = '5.1.9.RELEASE'
logbackVersion = '1.2.3'
sentryLogbackVersion = '1.7.7'
oshiVersion = '5.7.4'
jsonOrgVersion = '20180813'
spotbugsAnnotationsVersion = '3.1.6'
prometheusVersion = '0.5.0'
commonsLangVersion = '3.8'
gsonVersion = '2.8.5'
//@formatter:on
}
}
ext {
moduleName = 'Lavalink-Parent'
}