question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build failed with: Could not find com.vanniktech:gradle-maven-publish-plugin:0.9.0-SNAPSHOT.

See original GitHub issue

With the latest master :

$ ./gradlew check
Configuration on demand is an incubating feature.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'epoxy'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find com.vanniktech:gradle-maven-publish-plugin:0.9.0-SNAPSHOT.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/vanniktech/gradle-maven-publish-plugin/0.9.0-SNAPSHOT/maven-metadata.xml
       - https://dl.google.com/dl/android/maven2/com/vanniktech/gradle-maven-publish-plugin/0.9.0-SNAPSHOT/gradle-maven-publish-plugin-0.9.0-SNAPSHOT.pom
       - https://dl.google.com/dl/android/maven2/com/vanniktech/gradle-maven-publish-plugin/0.9.0-SNAPSHOT/gradle-maven-publish-plugin-0.9.0-SNAPSHOT.jar
       - https://jcenter.bintray.com/com/vanniktech/gradle-maven-publish-plugin/0.9.0-SNAPSHOT/maven-metadata.xml
       - https://jcenter.bintray.com/com/vanniktech/gradle-maven-publish-plugin/0.9.0-SNAPSHOT/gradle-maven-publish-plugin-0.9.0-SNAPSHOT.pom
       - https://jcenter.bintray.com/com/vanniktech/gradle-maven-publish-plugin/0.9.0-SNAPSHOT/gradle-maven-publish-plugin-0.9.0-SNAPSHOT.jar
       - https://oss.sonatype.org/service/local/repositories/snapshots/content/com/vanniktech/gradle-maven-publish-plugin/0.9.0-SNAPSHOT/maven-metadata.xml
       - https://oss.sonatype.org/service/local/repositories/snapshots/content/com/vanniktech/gradle-maven-publish-plugin/0.9.0-SNAPSHOT/gradle-maven-publish-plugin-0.9.0-SNAPSHOT.pom
       - https://oss.sonatype.org/service/local/repositories/snapshots/content/com/vanniktech/gradle-maven-publish-plugin/0.9.0-SNAPSHOT/gradle-maven-publish-plugin-0.9.0-SNAPSHOT.jar
       - https://plugins.gradle.org/m2/com/vanniktech/gradle-maven-publish-plugin/0.9.0-SNAPSHOT/maven-metadata.xml
       - https://plugins.gradle.org/m2/com/vanniktech/gradle-maven-publish-plugin/0.9.0-SNAPSHOT/gradle-maven-publish-plugin-0.9.0-SNAPSHOT.pom
     Required by:
         project :

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3s

Am I doing something wrong?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Ezaldeen99commented, May 4, 2020

@githubashutoshsoni go-to Epoxy project gradle.build file and then update classpath 'com.vanniktech:gradle-maven-publish-plugin:0.9.0-SNAPSHOT'

to

classpath 'com.vanniktech:gradle-maven-publish-plugin:0.9.0 ' or classpath 'com.vanniktech:gradle-maven-publish-plugin:0.10.0 '

both will do fine

and then sync your project again

0reactions
elihartcommented, May 5, 2020

I’ve merged a changed to master to use 0.9.0 for now. I’ll look into why 0.10.0 is not working

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not find spring-boot-2.3.0.BUILD-SNAPSHOT.jar Error
I got the build.gradle from the spring initilizer. Could not resolve all artifacts for configuration ':classpath'. Could not find ...
Read more >
Build failing on 2.8.0-SNAPSHOT - Google Groups
[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.7.0:compile (default) on project app: Failed to resolve artifact: 1 problem was ...
Read more >
Could not find com.android.tools.build:gradle:3.0.1.
FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring root project 'ReadyB'. > Could not resolve all files for ......
Read more >
Unable to build modules from the example repo
xml it looks like all dependencies are downloaded and cached. Then when I run mvn package from git or cmd I get an...
Read more >
Unable to find existing SNAPSHOT dependency - Old Forum
We are trying to build a SNAPSHOT of a project which is also a dependency to other projects. ... Could not resolve all...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found