Use junit platform for spock as well
@@ -511,14 +511,11 @@ mainClassName = "@features.application().mainClassName(applicationType, project,
}
-@if (features.testFramework().isJunit() || features.testFramework().isKotlinTest()) {
// use JUnit 5 platform
test {
useJUnitPlatform()
}
-}
-
java {
sourceCompatibility = JavaVersion.toVersion('@features.getTargetJdk()')
@if (!features.language().isKotlin()) {
