-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
58 lines (46 loc) · 1.07 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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
group = 'com.cubixmc'
version = '0.0.1'
/*
uft-8
*/
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
tasks.withType(Test) {
systemProperty 'file.encoding', 'UTF-8'
}
/*
end uft-8
*/
repositories {
mavenCentral()
maven {
name 'waterdog-repo'
url 'https://repo.waterdog.dev/artifactory/main'
}
maven {
name 'opencollab-releases'
url 'https://repo.opencollab.dev/maven-releases/'
}
maven {
name 'opencollab-snapshots'
url 'https://repo.opencollab.dev/maven-snapshots/'
}
}
dependencies {
testImplementation platform('org.junit:junit-bom:5.9.3')
testImplementation 'org.junit.jupiter:junit-jupiter'
compileOnly 'dev.waterdog.waterdogpe:waterdog:2.0.0-SNAPSHOT'
compileOnly 'org.cloudburstmc.protocol:bedrock-connection:3.0.0.Beta1-SNAPSHOT'
}
test {
useJUnitPlatform()
}
shadowJar { }
build.dependsOn shadowJar