Closed renanfranca closed 8 months ago
I think the solution is to create two new needles for runtimeOnly and testRuntimeOnly to ensure the correct order. Here is the correct order accepted by the sonar:
@renanfranca : The only scopes that are currently mapped are compileOnly
and runtimeOnly
, see https://github.com/jhipster/jhipster-lite/blob/524bbf0192d906978e3cb2f47aaa0767082197d7/src/main/java/tech/jhipster/lite/module/infrastructure/secondary/javadependency/gradle/GradleCommandHandler.java#L118-L123
Dependencies should be grouped by destination kotlin:S6629
The
gradleapp
from the./tests-ci/generate.sh gradleapp gradle yml
generates the following dependencies atbuild.gradle.kts
I think the solution is to create two new needles for runtimeOnly and testRuntimeOnly to ensure the correct order. Here is the correct order accepted by the sonar:
The code smell was detected after start running the local sonar for gradleapp at github_actions:
8867