FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'gradle_retry_reproducer'.
> Could not resolve all files for configuration ':classpath'.
> Could not find plugin-1.3.0.jar (org.gradle:test-retry-gradle-plugin:1.3.0).
Searched in the following locations:
https://plugins.gradle.org/m2/org/gradle/test-retry-gradle-plugin/1.3.0/plugin-1.3.0.jar
The jar file path should betest-retry-gradle-plugin-1.3.0.jar
Notes:
This error does not occur with version 1.2.1 or below, because those versions do not have a .module file.
This error does occur with version 1.3.0 and above, including the latest version 1.5.2, because those versions all have a .module file with a faulty .jar path.
This error does not occur when using gradlePluginPortal() as a repository, because it does not use gradleMetadata()
Running
gradle build
on the following:Causes an error:
This appears to be because of the faulty jar file path
plugin-1.3.0.jar
included in the.module
file: \ https://plugins.gradle.org/m2/org/gradle/test-retry-gradle-plugin/1.3.0/test-retry-gradle-plugin-1.3.0.moduleThe jar file path should be
test-retry-gradle-plugin-1.3.0.jar
Notes:
.module
file..module
file with a faulty.jar
path.gradlePluginPortal()
as a repository, because it does not usegradleMetadata()