Skip to content

Commit 3bcf2ce

Browse files
committed
use the junit platform in base
weirdly, this wasn't necessary before
1 parent 1d65369 commit 3bcf2ce

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

conventions/src/main/kotlin/tel.schich.javacan.convention.base.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ java {
1919
}
2020
}
2121

22+
tasks.test {
23+
useJUnitPlatform()
24+
}
25+
2226
tasks.withType<JavaCompile>().configureEach {
2327
options.compilerArgs.addAll(
2428
listOf(

conventions/src/main/kotlin/tel.schich.javacan.convention.native.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,6 @@ val packageNativeForHost by tasks.registering(Jar::class) {
184184
archiveClassifier = "host"
185185
}
186186

187-
tasks.test {
188-
useJUnitPlatform()
189-
}
190-
191187
dependencies {
192188
annotationProcessor(libs.jniAccessGenerator)
193189
compileOnly(libs.jniAccessGenerator)

0 commit comments

Comments
 (0)