blob: 29f30431cf91a98fa93236bb8bc87a50c73b7636 (
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
26
|
plugins {
`java-library`
}
allprojects {
group = "moe.nea"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
}
dependencies {
api("org.jspecify:jspecify:1.0.0")
}
allprojects {
afterEvaluate {
if (project.plugins.hasPlugin(JavaBasePlugin::class.java))
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.1")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.8.1")
}
}
tasks.withType(Test::class) {
useJUnitPlatform()
}
}
|