Skip to content

Commit

Permalink
Remove obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
Godin authored Sep 26, 2024
1 parent 8b1370b commit a3e2ff9
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 84 deletions.
10 changes: 0 additions & 10 deletions sonar-kotlin-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,3 @@ dependencies {
testImplementation(testLibs.sonar.plugin.api.test.fixtures)
testImplementation(project(":sonar-kotlin-test-api"))
}

// The new version 11.0.17 of javadoc has a bug and does not handle package annotations correctly
// Adding a "tag" option is a workaround to prevent javadoc errors
// @see https://bugs.openjdk.org/browse/JDK-8295850
tasks.withType<Javadoc> {
options {
this as StandardJavadocDocletOptions
addStringOption("tag", "javax.annotation.ParametersAreNonnullByDefault:ParametersAreNonnullByDefault")
}
}
10 changes: 0 additions & 10 deletions sonar-kotlin-checks/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,3 @@ dependencies {

testImplementation(project(":sonar-kotlin-test-api"))
}

// The new version 11.0.17 of javadoc has a bug and does not handle package annotations correctly
// Adding a "tag" option is a workaround to prevent javadoc errors
// @see https://bugs.openjdk.org/browse/JDK-8295850
tasks.withType<Javadoc> {
options {
this as StandardJavadocDocletOptions
addStringOption("tag", "javax.annotation.ParametersAreNonnullByDefault:ParametersAreNonnullByDefault")
}
}
11 changes: 0 additions & 11 deletions sonar-kotlin-external-linters/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,3 @@ dependencies {

testImplementation(project(":sonar-kotlin-test-api"))
}

// TODO: check if it has been fixed + backported to JDK 11 (note: has been fixed for JDK 13)
// The new version 11.0.17 of javadoc has a bug and does not handle package annotations correctly
// Adding a "tag" option is a workaround to prevent javadoc errors
// @see https://bugs.openjdk.org/browse/JDK-8295850
tasks.withType<Javadoc> {
options {
this as StandardJavadocDocletOptions
addStringOption("tag", "javax.annotation.ParametersAreNonnullByDefault:ParametersAreNonnullByDefault")
}
}
11 changes: 0 additions & 11 deletions sonar-kotlin-gradle/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,3 @@ dependencies {

testImplementation(project(":sonar-kotlin-test-api"))
}

// TODO: check if it has been fixed + backported to JDK 11 (note: has been fixed for JDK 13)
// The new version 11.0.17 of javadoc has a bug and does not handle package annotations correctly
// Adding a "tag" option is a workaround to prevent javadoc errors
// @see https://bugs.openjdk.org/browse/JDK-8295850
tasks.withType<Javadoc> {
options {
this as StandardJavadocDocletOptions
addStringOption("tag", "javax.annotation.ParametersAreNonnullByDefault:ParametersAreNonnullByDefault")
}
}
11 changes: 0 additions & 11 deletions sonar-kotlin-metrics/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,3 @@ dependencies {
testImplementation(project(":sonar-kotlin-test-api"))
testImplementation(project(":sonar-kotlin-plugin"))
}

// TODO: check if it has been fixed + backported to JDK 11 (note: has been fixed for JDK 13)
// The new version 11.0.17 of javadoc has a bug and does not handle package annotations correctly
// Adding a "tag" option is a workaround to prevent javadoc errors
// @see https://bugs.openjdk.org/browse/JDK-8295850
tasks.withType<Javadoc> {
options {
this as StandardJavadocDocletOptions
addStringOption("tag", "javax.annotation.ParametersAreNonnullByDefault:ParametersAreNonnullByDefault")
}
}
10 changes: 0 additions & 10 deletions sonar-kotlin-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,6 @@ dependencies {
testImplementation(project(":sonar-kotlin-test-api"))
}

// The new version 11.0.17 of javadoc has a bug and does not handle package annotations correctly
// Adding a "tag" option is a workaround to prevent javadoc errors
// @see https://bugs.openjdk.org/browse/JDK-8295850
tasks.withType<Javadoc> {
options {
this as StandardJavadocDocletOptions
addStringOption("tag", "javax.annotation.ParametersAreNonnullByDefault:ParametersAreNonnullByDefault")
}
}

val test: Test by tasks
test.dependsOn(project(":kotlin-checks-test-sources").tasks.named("build"))

Expand Down
11 changes: 0 additions & 11 deletions sonar-kotlin-surefire/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,3 @@ dependencies {

testImplementation(project(":sonar-kotlin-test-api"))
}

// TODO: check if it has been fixed + backported to JDK 11 (note: has been fixed for JDK 13)
// The new version 11.0.17 of javadoc has a bug and does not handle package annotations correctly
// Adding a "tag" option is a workaround to prevent javadoc errors
// @see https://bugs.openjdk.org/browse/JDK-8295850
tasks.withType<Javadoc> {
options {
this as StandardJavadocDocletOptions
addStringOption("tag", "javax.annotation.ParametersAreNonnullByDefault:ParametersAreNonnullByDefault")
}
}
10 changes: 0 additions & 10 deletions sonar-kotlin-test-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,3 @@ dependencies {
implementation(libs.gson)
implementation(libs.sonar.analyzer.commons.recognizers)
}

// The new version 11.0.17 of javadoc has a bug and does not handle package annotations correctly
// Adding a "tag" option is a workaround to prevent javadoc errors
// @see https://bugs.openjdk.org/browse/JDK-8295850
tasks.withType<Javadoc> {
options {
this as StandardJavadocDocletOptions
addStringOption("tag", "javax.annotation.ParametersAreNonnullByDefault:ParametersAreNonnullByDefault")
}
}

0 comments on commit a3e2ff9

Please sign in to comment.