-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
55 lines (41 loc) · 1.51 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
apply plugin: 'application'
group 'org.comroid'
version '3.00-SNAPSHOT'
apply from: 'gradle/vars.gradle'
mainClassName = 'org.comroid.candybot.CandyBot'
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.findByName('wrapper')?.configure {
gradleVersion = '6.2'
distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip"
}
compileJava.options.encoding = 'UTF-8'
repositories {
maven { url 'https://maven.comroid.org' }
mavenLocal()
jcenter()
maven { url 'https://www.jitpack.io' }
}
if (!isAutoDeploy) {
evaluationDependsOn ':guardian:uniform'
evaluationDependsOn ':guardian:restless'
}
dependencies {
compileOnly 'org.jetbrains:annotations:19.0.0'
if (isAutoDeploy) {
implementation 'org.comroid:status-api:0.+'
implementation 'org.comroid:restless:0.+'
implementation 'org.comroid:CrystalShard:0.+'
} else {
implementation project(':status:status-api')
implementation project(':guardian:uniform').sourceSets.java8compat.output.classesDirs
implementation project(':guardian:restless').sourceSets.java8compat.output.classesDirs
implementation project(':CrystalShard')
}
// logging dependencies
implementation 'org.apache.logging.log4j:log4j-api:2.11.0'
runtimeOnly 'org.apache.logging.log4j:log4j-core:2.11.0'
// runtime adapter dependencies
implementation 'com.squareup.okhttp3:okhttp:4.7.2' // todo Make Optional
implementation 'com.alibaba:fastjson:1.2.70'
}