diff options
Diffstat (limited to 'plugins/sonar-xoo-plugin/build.gradle')
-rw-r--r-- | plugins/sonar-xoo-plugin/build.gradle | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/sonar-xoo-plugin/build.gradle b/plugins/sonar-xoo-plugin/build.gradle index 95e4dc3acc4..62af71aa40c 100644 --- a/plugins/sonar-xoo-plugin/build.gradle +++ b/plugins/sonar-xoo-plugin/build.gradle @@ -33,6 +33,11 @@ jar { artifactoryPublish.skip = false +// Produce Java 11 bytecode while making sure the code does not use any APIs from Java 17 +tasks.withType(JavaCompile) { + options.release = 11 +} + publishing { publications { mavenJava(MavenPublication) { |