Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven Central dependency cannot resolve all dependencies #17

Open
chairbender opened this issue Mar 10, 2016 · 1 comment
Open

Maven Central dependency cannot resolve all dependencies #17

chairbender opened this issue Mar 10, 2016 · 1 comment

Comments

@chairbender
Copy link

I included this project in my gradle script like so:
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'me.cmoz.gradle:gradle-snapshot-plugin:2.0.2'
}
}

But when I try to run my build, I get:

Could not find org.tmatesoft.hg4j:hg4j:1.1.0.
Required by:
myproject:unspecified > me.cmoz.gradle:gradle-snapshot-plugin:2.0.2

This is because the hg4j plugin, required by this project, is no longer available in maven central. The only way you can get it is via a mercurial repository:
http://hg.hg4j.com/hg4j

@nathansgreen
Copy link

Try switching from mavenCentral() to jcenter(). If you look in this project's build.gradle file you'll see it uses http://maven.tmatesoft.com/content/repositories/releases/ instead of maven central to get this dependency. (See https://bintray.com/bintray/jcenter/org.tmatesoft.hg4j%3Ahg4j/view)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants