@@ -34,11 +34,6 @@ 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) { |
@@ -40,11 +40,6 @@ dependencies { | |||
testCompileOnly 'com.google.code.findbugs:jsr305' | |||
} | |||
// Produce Java 11 bytecode while making sure the code does not use any APIs from Java 17 | |||
tasks.withType(JavaCompile) { | |||
options.release = 11 | |||
} | |||
// Used by sonar-db-core to run DB Unit Tests | |||
artifactoryPublish.skip = false | |||
publishing { |
@@ -19,8 +19,3 @@ dependencies { | |||
testImplementation 'org.hamcrest:hamcrest-core' | |||
testImplementation 'org.mockito:mockito-core' | |||
} | |||
// Produce Java 11 bytecode while making sure the code does not use any APIs from Java 17 | |||
tasks.withType(JavaCompile) { | |||
options.release = 11 | |||
} |
@@ -17,11 +17,6 @@ dependencies { | |||
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) { |
@@ -35,11 +35,6 @@ processResources { | |||
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) { |
@@ -67,11 +67,6 @@ license { | |||
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 | |||
} | |||
// Used by core plugins | |||
publishing { | |||
publications { |
@@ -33,11 +33,6 @@ task fatJar(type: Jar) { | |||
build.dependsOn fatJar | |||
// Produce Java 11 bytecode while making sure the code does not use any APIs from Java 17 | |||
tasks.withType(JavaCompile) { | |||
options.release = 11 | |||
} | |||
// Used by sonar-db-core to run DB Unit Tests | |||
artifactoryPublish.skip = false | |||
publishing { |
@@ -19,11 +19,6 @@ dependencies { | |||
compileOnlyApi 'com.google.code.findbugs:jsr305' | |||
} | |||
// Produce Java 11 bytecode while making sure the code does not use any APIs from Java 17 | |||
tasks.withType(JavaCompile) { | |||
options.release = 11 | |||
} | |||
artifactoryPublish.skip = false | |||
publishing { | |||
publications { |
@@ -39,11 +39,6 @@ dependencies { | |||
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) { |