Skip to content

Commit cc1c13a

Browse files
committed
Replace release by sourceCompatibility and targetCompatibility in spock
1 parent 93a2eda commit cc1c13a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/spock/build.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ dependencies {
2424
}
2525

2626
tasks.withType(GroovyCompile) {
27-
options.release.set(8)
27+
sourceCompatibility = '1.8'
28+
targetCompatibility = '1.8'
2829
options.encoding = 'UTF-8'
2930
}
3031

0 commit comments

Comments
 (0)