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 55d2b1b commit 9434717Copy full SHA for 9434717
buildSrc/src/main/groovy/org/elasticsearch/gradle/BuildPlugin.groovy
@@ -449,6 +449,7 @@ class BuildPlugin implements Plugin<Project> {
449
450
options.encoding = 'UTF-8'
451
options.incremental = true
452
+ // TODO: use native Gradle support for --release when available (cf. https://github.com/gradle/gradle/issues/2510)
453
options.compilerArgs << '--release' << project.targetCompatibility.majorVersion
454
}
455
0 commit comments