android-junit5: 1.0.32 does not work with Gradle 4.10+
I get the following error:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':android-test-utils'.
> Could not create task ':android-test-utils:junitPlatformTest'.
> Could not create task of type 'JUnit5UnitTestRunAll'.
> org.gradle.process.internal.DefaultJavaForkOptions.<init>(Lorg/gradle/api/internal/file/FileResolver;)V
And I would like to just update to 1.2.0.0, but that triggers other updates… and now I’m in dependency hell. Is there any way you could create a 1.0.33 release just for Gradle 4.10 compatibility? 4.10.x is the last in the 4.x series, with 5.0 coming out very soon. I just think it would be great to users of this plugin if breaking changes (like 1.0.32 -> 1.2.0.0) were held off for a major release of Gradle as well.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 2
- Comments: 19 (7 by maintainers)
Thanks for confirming. I will conduct some further tests shortly to ensure backwards compatibility, and then we’ll get this out as the final straw for 1.0.x 👍
I tried it with Gradle 4.10 and 4.10.2 and all seems well 👍
Snapshots of the development version are available through Sonatype’s snapshots repository:
Different user here, but version 3.3.0-alpha13 of the Android Gradle plugin updates the Gradle wrapper version to 4.10.1. I just tested out the Canary build of Android Studio and it prompts to make this update.
Just a note to add to the users out there facing this issue. The failure is because of a change in an internal Gradle type this plugin uses. If you need more public APIs for your use case please request one on
gradle/gradle.