dependency-analysis-gradle-plugin
dependency-analysis-gradle-plugin copied to clipboard
[TestKit Plugin] gradle-testkit-support version problem
Plugin version 0.9
Gradle version 8.1.1
JDK version OpenJDK 11
Describe the bug
There are some issues with the latest version released for the TestKit plugin.
First of all the default withSupportLibrary
points to an unreleased 0.16 version of the support lib, that was fixed in this commit but not released.
Not a big deal as you can set your own value, but using the latest gradle-testkit-truth
library also fails as it depends on an unreleased 0.16-SNAPSHOT version of the support library.
You can see it even in the maven repo: https://mvnrepository.com/artifact/com.autonomousapps/gradle-testkit-truth/1.6
Using 0.15 works (and using 0.16 and constraints should work too) but it is a bit difficult to understand why everything fails if you follow the readme (which also needs some updates)
To Reproduce Steps to reproduce the behavior:
- Create new project
- Add the plugin and support/truth dependencies to it
- Run any gradle command
Expected behavior Works
Additional context
Thanks for the issue! I am aware of that problem and it has been fixed on main
already -- but I haven't published a new release with that fix. I will do that.
This has been resolved.