Przeglądaj źródła

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

tags/10.4.0.87286
Matteo Mara 5 miesięcy temu
rodzic
commit
5f969fa44d

+ 0
- 5
plugins/sonar-xoo-plugin/build.gradle Wyświetl plik



artifactoryPublish.skip = false 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 { publishing {
publications { publications {
mavenJava(MavenPublication) { mavenJava(MavenPublication) {

+ 0
- 5
sonar-core/build.gradle Wyświetl plik

testCompileOnly 'com.google.code.findbugs:jsr305' 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 // Used by sonar-db-core to run DB Unit Tests
artifactoryPublish.skip = false artifactoryPublish.skip = false
publishing { publishing {

+ 0
- 5
sonar-duplications/build.gradle Wyświetl plik

testImplementation 'org.hamcrest:hamcrest-core' testImplementation 'org.hamcrest:hamcrest-core'
testImplementation 'org.mockito:mockito-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 Wyświetl plik



artifactoryPublish.skip = false 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 { publishing {
publications { publications {
mavenJava(MavenPublication) { mavenJava(MavenPublication) {

+ 0
- 5
sonar-plugin-api-impl/build.gradle Wyświetl plik



artifactoryPublish.skip = false 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 { publishing {
publications { publications {
mavenJava(MavenPublication) { mavenJava(MavenPublication) {

+ 0
- 5
sonar-scanner-engine/build.gradle Wyświetl plik



artifactoryPublish.skip = false 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 // Used by core plugins
publishing { publishing {
publications { publications {

+ 0
- 5
sonar-scanner-protocol/build.gradle Wyświetl plik



build.dependsOn fatJar 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 // Used by sonar-db-core to run DB Unit Tests
artifactoryPublish.skip = false artifactoryPublish.skip = false
publishing { publishing {

+ 0
- 5
sonar-testing-harness/build.gradle Wyświetl plik

compileOnlyApi 'com.google.code.findbugs:jsr305' 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 artifactoryPublish.skip = false
publishing { publishing {
publications { publications {

+ 0
- 5
sonar-ws/build.gradle Wyświetl plik



artifactoryPublish.skip = false 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 { publishing {
publications { publications {
mavenJava(MavenPublication) { mavenJava(MavenPublication) {

Ładowanie…
Anuluj
Zapisz