File tree Expand file tree Collapse file tree
src/test/groovy/dev/minco/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,9 +10,20 @@ plugins {
1010apply (from = " groovy.gradle" )
1111
1212dependencies {
13+ testImplementation(platform(" org.spockframework:spock-bom:2.0-groovy-3.0" ))
14+ testImplementation(" org.spockframework:spock-core" )
15+ testImplementation(" org.spockframework:spock-junit4" )
16+ testImplementation(" junit:junit:4.13.2" )
17+
1318 val lombok = " org.projectlombok:lombok:1.18.20"
1419 compileOnly(lombok)
1520 testCompileOnly(lombok)
1621 annotationProcessor(lombok)
1722 testAnnotationProcessor(lombok)
1823}
24+
25+ tasks.withType<Test >().configureEach {
26+ // Using JUnitPlatform for running tests
27+ useJUnitPlatform()
28+ }
29+
Original file line number Diff line number Diff line change @@ -22,12 +22,6 @@ shadowJar {
2222dependencies {
2323 // compileOnly 'com.google.guava:guava:25.1-jre' // bundled with gradle
2424 implementation parent
25- testImplementation(' org.spockframework:spock-core:2.0-groovy-3.0' ) {
26- exclude module : ' groovy-all'
27- }
28- testImplementation(' org.spockframework:spock-junit4:2.0-groovy-3.0' ) {
29- exclude module : ' groovy-all'
30- }
3125 testImplementation(' io.github.classgraph:classgraph:4.8.59' )
3226}
3327
Original file line number Diff line number Diff line change @@ -59,6 +59,8 @@ class BuildLogicFunctionalTest extends Specification {
5959 where:
6060 gradleVersion | maxJdkVersion
6161 null | null
62+ // JDK 16
63+ " 7.1.1 " | JavaVersion.VERSION_16
6264 // first version with JDK 15 support
6365 " 6.7.1 " | JavaVersion.VERSION_15
6466 // first version with working @Nested in a managed type
You can’t perform that action at this time.
0 commit comments