blob: 259ecad6f5aa70827378c8a1f7f120ba2f1babc2 (
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
27
28
29
|
plugins {
`java-library`
}
repositories {
mavenCentral()
}
dependencies {
// Use it for nullability annotations
api("org.jspecify:jspecify:1.0.0")
// Use it for contracts and unmodifiability annotations
api("org.jetbrains:annotations:26.0.2")
// Testing dependencies
testImplementation("org.junit.jupiter:junit-jupiter:6.0.2")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
tasks.named<Test>("test") {
useJUnitPlatform()
maxHeapSize = "1G"
testLogging {
events("passed")
}
}
|