Skip to content

Commit a3e2ff9

Browse files
authored
Remove obsolete code
1 parent 8b1370b commit a3e2ff9

File tree

8 files changed

+0
-84
lines changed

8 files changed

+0
-84
lines changed

sonar-kotlin-api/build.gradle.kts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,3 @@ dependencies {
2626
testImplementation(testLibs.sonar.plugin.api.test.fixtures)
2727
testImplementation(project(":sonar-kotlin-test-api"))
2828
}
29-
30-
// The new version 11.0.17 of javadoc has a bug and does not handle package annotations correctly
31-
// Adding a "tag" option is a workaround to prevent javadoc errors
32-
// @see https://bugs.openjdk.org/browse/JDK-8295850
33-
tasks.withType<Javadoc> {
34-
options {
35-
this as StandardJavadocDocletOptions
36-
addStringOption("tag", "javax.annotation.ParametersAreNonnullByDefault:ParametersAreNonnullByDefault")
37-
}
38-
}

sonar-kotlin-checks/build.gradle.kts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,3 @@ dependencies {
2727

2828
testImplementation(project(":sonar-kotlin-test-api"))
2929
}
30-
31-
// The new version 11.0.17 of javadoc has a bug and does not handle package annotations correctly
32-
// Adding a "tag" option is a workaround to prevent javadoc errors
33-
// @see https://bugs.openjdk.org/browse/JDK-8295850
34-
tasks.withType<Javadoc> {
35-
options {
36-
this as StandardJavadocDocletOptions
37-
addStringOption("tag", "javax.annotation.ParametersAreNonnullByDefault:ParametersAreNonnullByDefault")
38-
}
39-
}

sonar-kotlin-external-linters/build.gradle.kts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,3 @@ dependencies {
2929

3030
testImplementation(project(":sonar-kotlin-test-api"))
3131
}
32-
33-
// TODO: check if it has been fixed + backported to JDK 11 (note: has been fixed for JDK 13)
34-
// The new version 11.0.17 of javadoc has a bug and does not handle package annotations correctly
35-
// Adding a "tag" option is a workaround to prevent javadoc errors
36-
// @see https://bugs.openjdk.org/browse/JDK-8295850
37-
tasks.withType<Javadoc> {
38-
options {
39-
this as StandardJavadocDocletOptions
40-
addStringOption("tag", "javax.annotation.ParametersAreNonnullByDefault:ParametersAreNonnullByDefault")
41-
}
42-
}

sonar-kotlin-gradle/build.gradle.kts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,3 @@ dependencies {
3434

3535
testImplementation(project(":sonar-kotlin-test-api"))
3636
}
37-
38-
// TODO: check if it has been fixed + backported to JDK 11 (note: has been fixed for JDK 13)
39-
// The new version 11.0.17 of javadoc has a bug and does not handle package annotations correctly
40-
// Adding a "tag" option is a workaround to prevent javadoc errors
41-
// @see https://bugs.openjdk.org/browse/JDK-8295850
42-
tasks.withType<Javadoc> {
43-
options {
44-
this as StandardJavadocDocletOptions
45-
addStringOption("tag", "javax.annotation.ParametersAreNonnullByDefault:ParametersAreNonnullByDefault")
46-
}
47-
}

sonar-kotlin-metrics/build.gradle.kts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,3 @@ dependencies {
3333
testImplementation(project(":sonar-kotlin-test-api"))
3434
testImplementation(project(":sonar-kotlin-plugin"))
3535
}
36-
37-
// TODO: check if it has been fixed + backported to JDK 11 (note: has been fixed for JDK 13)
38-
// The new version 11.0.17 of javadoc has a bug and does not handle package annotations correctly
39-
// Adding a "tag" option is a workaround to prevent javadoc errors
40-
// @see https://bugs.openjdk.org/browse/JDK-8295850
41-
tasks.withType<Javadoc> {
42-
options {
43-
this as StandardJavadocDocletOptions
44-
addStringOption("tag", "javax.annotation.ParametersAreNonnullByDefault:ParametersAreNonnullByDefault")
45-
}
46-
}

sonar-kotlin-plugin/build.gradle.kts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,6 @@ dependencies {
4545
testImplementation(project(":sonar-kotlin-test-api"))
4646
}
4747

48-
// The new version 11.0.17 of javadoc has a bug and does not handle package annotations correctly
49-
// Adding a "tag" option is a workaround to prevent javadoc errors
50-
// @see https://bugs.openjdk.org/browse/JDK-8295850
51-
tasks.withType<Javadoc> {
52-
options {
53-
this as StandardJavadocDocletOptions
54-
addStringOption("tag", "javax.annotation.ParametersAreNonnullByDefault:ParametersAreNonnullByDefault")
55-
}
56-
}
57-
5848
val test: Test by tasks
5949
test.dependsOn(project(":kotlin-checks-test-sources").tasks.named("build"))
6050

sonar-kotlin-surefire/build.gradle.kts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,3 @@ dependencies {
2929

3030
testImplementation(project(":sonar-kotlin-test-api"))
3131
}
32-
33-
// TODO: check if it has been fixed + backported to JDK 11 (note: has been fixed for JDK 13)
34-
// The new version 11.0.17 of javadoc has a bug and does not handle package annotations correctly
35-
// Adding a "tag" option is a workaround to prevent javadoc errors
36-
// @see https://bugs.openjdk.org/browse/JDK-8295850
37-
tasks.withType<Javadoc> {
38-
options {
39-
this as StandardJavadocDocletOptions
40-
addStringOption("tag", "javax.annotation.ParametersAreNonnullByDefault:ParametersAreNonnullByDefault")
41-
}
42-
}

sonar-kotlin-test-api/build.gradle.kts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,3 @@ dependencies {
2323
implementation(libs.gson)
2424
implementation(libs.sonar.analyzer.commons.recognizers)
2525
}
26-
27-
// The new version 11.0.17 of javadoc has a bug and does not handle package annotations correctly
28-
// Adding a "tag" option is a workaround to prevent javadoc errors
29-
// @see https://bugs.openjdk.org/browse/JDK-8295850
30-
tasks.withType<Javadoc> {
31-
options {
32-
this as StandardJavadocDocletOptions
33-
addStringOption("tag", "javax.annotation.ParametersAreNonnullByDefault:ParametersAreNonnullByDefault")
34-
}
35-
}

0 commit comments

Comments
 (0)