Skip to content

Commit 9434717

Browse files
committed
Add comment on --release flag
1 parent 55d2b1b commit 9434717

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

buildSrc/src/main/groovy/org/elasticsearch/gradle/BuildPlugin.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,7 @@ class BuildPlugin implements Plugin<Project> {
449449

450450
options.encoding = 'UTF-8'
451451
options.incremental = true
452+
// TODO: use native Gradle support for --release when available (cf. https://github.com/gradle/gradle/issues/2510)
452453
options.compilerArgs << '--release' << project.targetCompatibility.majorVersion
453454
}
454455
}

0 commit comments

Comments
 (0)