Skip to content

Commit

Permalink
Jvm config only for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
deusaquilus committed Feb 2, 2024
1 parent 40b4049 commit 54c9467
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 0 additions & 4 deletions pprint-kotlin-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ kotlin {
}
}

tasks.named<Test>("jvmTest") {
useJUnitPlatform()
}

tasks.withType<AbstractTestTask>().configureEach {
testLogging {
showStandardStreams = true
Expand Down
6 changes: 4 additions & 2 deletions pprint-kotlin-kmp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,10 @@ kotlin {
}


tasks.named<Test>("jvmTest") {
useJUnitPlatform()
if (project.hasProperty("platform") && project.property("platform") == "linux") {
tasks.named<Test>("jvmTest") {
useJUnitPlatform()
}
}

tasks.withType<AbstractTestTask>().configureEach {
Expand Down

0 comments on commit 54c9467

Please sign in to comment.