diff --git a/buildSrc/src/main/groovy/io.micronaut.build.internal.test-resources-module.gradle b/buildSrc/src/main/groovy/io.micronaut.build.internal.test-resources-module.gradle index f755dbb33..2eefc33e5 100644 --- a/buildSrc/src/main/groovy/io.micronaut.build.internal.test-resources-module.gradle +++ b/buildSrc/src/main/groovy/io.micronaut.build.internal.test-resources-module.gradle @@ -5,6 +5,7 @@ plugins { micronautBuild { binaryCompatibility { + enabled = JavaVersion.current().isJava11Compatible() baselineVersion = ((version-'-SNAPSHOT').split('[.]') as List).withIndex().collect { v, i -> (i == 2 ? Integer.parseInt(v) -1 : v) as String }.join('.') } }