We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bceda2c commit c83c03fCopy full SHA for c83c03f
1 file changed
ddprof-lib/build.gradle
@@ -256,10 +256,13 @@ sourceSets {
256
}
257
258
259
+def current = JavaVersion.current().majorVersion.toInteger()
260
+def requested = current >= 11 ? current : 11
261
+
262
// Configure Java 9 compilation with Java 11 toolchain
263
tasks.named('compileJava9Java') {
264
javaCompiler = javaToolchains.compilerFor {
- languageVersion = JavaLanguageVersion.of(11)
265
+ languageVersion = JavaLanguageVersion.of(requested)
266
267
options.release = 9
268
0 commit comments