-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
29 lines (25 loc) · 787 Bytes
/
Copy pathbuild.gradle
File metadata and controls
29 lines (25 loc) · 787 Bytes
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
plugins {
id 'java-library'
}
java {
// Java 8 source/target for broad compatibility.
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories {
mavenCentral()
}
dependencies {
// Zero runtime dependencies beyond the JDK (plan §3).
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
test {
useJUnitPlatform()
// Forward the property-test volume control into the test JVM
// (a bare -D on the gradle command line only reaches the Gradle daemon).
def propertyCases = System.getProperty('ruckig.property.cases')
if (propertyCases != null) {
systemProperty 'ruckig.property.cases', propertyCases
}
}