Browse Source

SONAR-21157 Drop support for running the scanners with Java 11

tags/10.4.0.87286
Matteo Mara 5 months ago
parent
commit
5f969fa44d

+ 0
- 5
plugins/sonar-xoo-plugin/build.gradle View File

@@ -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) {

+ 0
- 5
sonar-core/build.gradle View File

@@ -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 {

+ 0
- 5
sonar-duplications/build.gradle View File

@@ -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
}

+ 0
- 5
sonar-markdown/build.gradle View File

@@ -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) {

+ 0
- 5
sonar-plugin-api-impl/build.gradle View File

@@ -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) {

+ 0
- 5
sonar-scanner-engine/build.gradle View File

@@ -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 {

+ 0
- 5
sonar-scanner-protocol/build.gradle View File

@@ -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 {

+ 0
- 5
sonar-testing-harness/build.gradle View File

@@ -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 {

+ 0
- 5
sonar-ws/build.gradle View File

@@ -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) {

Loading…
Cancel
Save