elmolm / gradle-playground

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build doesn't work

Dariece opened this issue · comments

Unfortunable the build of mavenlocal-plugin-resolve doesn't work, because the Dependency of the Application itself is missing by the Plugin. I have the same issue with my own Plugin. I don't understand:
`
What went wrong:
A problem occurred configuring root project 'mavenlocal-plugin-resolve'.

Could not resolve all files for configuration ':classpath'.
Could not find blog.elmland.gradle:extended-java-library-gradle-plugin:1.0.0.
Searched in the following locations:
- file:/C:/Users/D/.m2/repository/blog/elmland/gradle/extended-java-library-gradle-plugin/1.0.0/extended-java-library-gradle-plugin-1.0.0.pom
- https://plugins.gradle.org/m2/blog/elmland/gradle/extended-java-library-gradle-plugin/1.0.0/extended-java-library-gradle-plugin-1.0.0.pom
Required by:
project : > blog.elmland.gradle.java-library-extended:blog.elmland.gradle.java-library-extended.gradle.plugin:1.0.0
`

The build works for me without any problems. Did you run the following?

$ git clone https://github.com/elmolm/gradle-playground.git
$ cd gradle-playground
$ cd extended-java-library-plugin
$ ./gradlew publishToMavenLocal
$ cd ../mavenlocal-plugin-resolve
$ ./gradlew check
$ ./gradlew javaVersion

https://elmland.blog/2019/08/10/add-mavenlocal-to-gradle-plugin-resolution/