-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathbuild.gradle
38 lines (31 loc) · 976 Bytes
/
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
plugins {
id "java-library"
}
repositories {
mavenCentral()
}
group = ss_group
version = "5.0.0"
dependencies {
implementation "com.eclipsesource.minimal-json:minimal-json:0.9.5"
implementation fileTree(dir: "libs", include: "*.jar")
// Use JUnit Jupiter API for testing.
testImplementation "org.junit.jupiter:junit-jupiter-api:5.8.2", "org.junit.jupiter:junit-jupiter-params:5.8.2"
// Use JUnit Jupiter Engine for testing.
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.8.2", "com.eclipsesource.minimal-json:minimal-json:0.9.5", "org.junit.platform:junit-platform-launcher"
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(java_language_version)
}
}
jar {
archiveBaseName = "server-sync"
archiveClassifier = "shared"
}
test {
useJUnitPlatform()
afterTest { desc, result ->
logger.quiet "Ran test ${desc.name} [${desc.className}] with result: ${result.resultType}"
}
}