Gopal S Akshintala
08/24/2021, 3:26 PMproperty("sonar.sources", "src/main")
property("sonar.tests", "src/test")
But when I run gradle sonarqube
task, I keep getting errors like:
No input file found for /Users/gopala.akshintala/code-clones/my-github/vader-root/vader/build/generated/sources/delombok/java/main/org/revcloud/vader/runner/Utils.kt. No detekt issues will be imported on this file.
And I don’t see any detekt related errors.
Note: I am using lombok for some modules, so I even tried this:
property(
"sonar.sources",
the<SourceSetContainer>()["main"].allJava.srcDirs.filter { it.exists() }.joinToString(",")
)
property(
"sonar.tests",
the<SourceSetContainer>()["test"].allJava.srcDirs.filter { it.exists() }.joinToString(",")
)
but I keep getting the same error with file path being different (pointing to generated, so I guess this is not lombok specific)
No input file found for /Users/gopala.akshintala/code-clones/my-github/vader-root/vader/build/generated/sources/delombok/java/main/org/revcloud/vader/runner/Utils.kt. No detekt issues will be imported on this file.
Please help!gammax
08/24/2021, 3:36 PMGopal S Akshintala
08/24/2021, 3:39 PMgammax
08/24/2021, 3:40 PMGopal S Akshintala
08/24/2021, 3:42 PM