blob: 51c5db2757deb6d034340e2c8ebe060ecb823554 (
plain)
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
|
plugins {
id 'java-library'
}
repositories {
mavenCentral()
}
dependencies {
// Use JUnit Jupiter for testing.
testImplementation libs.junit.jupiter
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
// This dependency is exported to consumers, that is to say found on their compile classpath.
// api libs.commons.math3
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
// implementation libs.guava
}
tasks.named('test') {
// Use JUnit Platform for unit tests.
useJUnitPlatform()
}
|