Skip to content

Commit 1c21cbc

Browse files
authored
Remove obsolete code
1 parent 830a542 commit 1c21cbc

File tree

5 files changed

+0
-29
lines changed

5 files changed

+0
-29
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@ dependencies {
3131
testImplementation(project(":sonar-kotlin-test-api"))
3232
}
3333

34-
/* TODO: remove?
35-
tasks.withType<JavaCompile> {
36-
// Prevent warning: Gradle 5.0 will ignore annotation processors
37-
options.compilerArgs = options.compilerArgs + "-proc:none"
38-
}*/
39-
4034
// TODO: check if it has been fixed + backported to JDK 11 (note: has been fixed for JDK 13)
4135
// The new version 11.0.17 of javadoc has a bug and does not handle package annotations correctly
4236
// Adding a "tag" option is a workaround to prevent javadoc errors

sonar-kotlin-gradle/build.gradle.kts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ dependencies {
3636
testImplementation(project(":sonar-kotlin-test-api"))
3737
}
3838

39-
/* TODO: remove?
40-
tasks.withType<JavaCompile> {
41-
// Prevent warning: Gradle 5.0 will ignore annotation processors
42-
options.compilerArgs = options.compilerArgs + "-proc:none"
43-
}*/
44-
4539
// TODO: check if it has been fixed + backported to JDK 11 (note: has been fixed for JDK 13)
4640
// The new version 11.0.17 of javadoc has a bug and does not handle package annotations correctly
4741
// Adding a "tag" option is a workaround to prevent javadoc errors

sonar-kotlin-metrics/build.gradle.kts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,6 @@ dependencies {
3535
testImplementation(project(":sonar-kotlin-plugin"))
3636
}
3737

38-
/* TODO: remove?
39-
tasks.withType<JavaCompile> {
40-
// Prevent warning: Gradle 5.0 will ignore annotation processors
41-
options.compilerArgs = options.compilerArgs + "-proc:none"
42-
}*/
43-
4438
// TODO: check if it has been fixed + backported to JDK 11 (note: has been fixed for JDK 13)
4539
// The new version 11.0.17 of javadoc has a bug and does not handle package annotations correctly
4640
// Adding a "tag" option is a workaround to prevent javadoc errors

sonar-kotlin-plugin/build.gradle.kts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@ dependencies {
4646
testImplementation(project(":sonar-kotlin-test-api"))
4747
}
4848

49-
tasks.withType<JavaCompile> {
50-
// Prevent warning: Gradle 5.0 will ignore annotation processors
51-
options.compilerArgs = options.compilerArgs + "-proc:none"
52-
}
53-
5449
// The new version 11.0.17 of javadoc has a bug and does not handle package annotations correctly
5550
// Adding a "tag" option is a workaround to prevent javadoc errors
5651
// @see https://bugs.openjdk.org/browse/JDK-8295850

sonar-kotlin-surefire/build.gradle.kts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@ dependencies {
3131
testImplementation(project(":sonar-kotlin-test-api"))
3232
}
3333

34-
/* TODO: remove?
35-
tasks.withType<JavaCompile> {
36-
// Prevent warning: Gradle 5.0 will ignore annotation processors
37-
options.compilerArgs = options.compilerArgs + "-proc:none"
38-
}*/
39-
4034
// TODO: check if it has been fixed + backported to JDK 11 (note: has been fixed for JDK 13)
4135
// The new version 11.0.17 of javadoc has a bug and does not handle package annotations correctly
4236
// Adding a "tag" option is a workaround to prevent javadoc errors

0 commit comments

Comments
 (0)