dependency-check-gradle
dependency-check-gradle copied to clipboard
Kotlin 2.0 and test groups problem
Hello,
I'm using this plugin for the first time on an Android App and I noticed something
When using Kotlin version 2.0 and skipTestGroups=false
I have the following error:
Cannot change dependencies of dependency configuration ':debugAndroidTestCompileClasspath' after it has been included in dependency resolution. Use 'defaultDependencies' instead of 'beforeResolve' to specify default dependencies for a configuration.
I've been able to "fix" this either changing Kotlin version to 1.9.24 or still use Kotlin 2.0 but skipping the test groups skipTestGroups=true
Currently I'm using version 9.2.0 of the dependency check.
Is there something that I should be doing different on how to use Kotlin 2.0 and not skipping the tests groups?
Thank you in advance!