Skip to content

Commit 576e65a

Browse files
committed
Fix spock module to compile using Java 8
Fixes #10036
1 parent 6e104da commit 576e65a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/spock/build.gradle

+5
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ dependencies {
2323
testCompileOnly 'org.jetbrains:annotations:24.1.0'
2424
}
2525

26+
tasks.withType(GroovyCompile) {
27+
options.release.set(8)
28+
options.encoding = 'UTF-8'
29+
}
30+
2631
sourceJar {
2732
/* allJava is default (see gradle/publishing.gradle:sourceJar)
2833
allSource contains both .java and .groovy files */

0 commit comments

Comments
 (0)