Skip to content

Commit 971f2e4

Browse files
committed
groovy compatibility
1 parent 6fcc767 commit 971f2e4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@ tasks.withType(GroovyCompile) {
246246
// Options when compiling Java using the Groovy plugin.
247247
// (Groovy itself defaults to UTF-8 for Groovy code)
248248
options.encoding = 'UTF-8'
249+
sourceCompatibility = '11'
250+
targetCompatibility = '11'
249251
groovyOptions.forkOptions.memoryMaximumSize = "4g"
250252
}
251253

@@ -429,3 +431,4 @@ tasks.withType(GenerateModuleMetadata) {
429431
test {
430432
useJUnitPlatform()
431433
}
434+

0 commit comments

Comments
 (0)