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

CNFE with Gradle > 1.9 #24

Closed
aalmiray opened this issue Mar 2, 2014 · 8 comments
Closed

CNFE with Gradle > 1.9 #24

aalmiray opened this issue Mar 2, 2014 · 8 comments

Comments

@aalmiray
Copy link
Contributor

aalmiray commented Mar 2, 2014

The following exception appears with version 0.4 of the plugin in combination with Gradle 1.10 and 1.11

Execution failed for task ':griffon-core:dependencyUpdates'.
> java.lang.ClassNotFoundException: org.gradle.api.internal.artifacts.version.LatestVersionSemanticComparator
@ari
Copy link

ari commented Mar 9, 2014

Although 0.5-beta-1 is supposed to have been released to fix this, there is no sign of the release anywhere in maven repositories on github or elsewhere.

@jochenberger
Copy link
Collaborator

This looks like a duplicate of #16 to me. Have you tried adding the github repository to your build script repositories as it is described in the readme?

@ari
Copy link

ari commented Mar 11, 2014

Actually I added it to my nexus repository. But you are right... I see it here: https://github.com/ben-manes/gradle-versions-plugin/tree/mvnrepo/com/github/ben-manes/gradle-versions-plugin/0.5-beta-1

Must be my config somewhere... please close.

@jochenberger
Copy link
Collaborator

@aalmiray please try with 0.5-beta-1 and report back if that doesn't fix your issue.

@ari
Copy link

ari commented Mar 11, 2014

I see why... your maven "repository" is missing all the index files. You may wish to investigate https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide for publishing your artifacts. I use it for my own open source projects and it is really easy once you have it set up.

@jochenberger
Copy link
Collaborator

The github repository is just a temporary workaround until 0.5 is released, which - unfortunately - I cannot do because I am not the project owner and have just stepped in. Please don't ask me for an ETA though, I wouldn't know.

@ari
Copy link

ari commented Mar 11, 2014

Oh, ok. Sonatype are happy to accept betas...

Anyhow, I've gone and forked this for my own use and uploaded it to a private repository. All looking good. Thanks.

@aalmiray
Copy link
Contributor Author

I suggest you to consider publishing binaries to Bintray (as noted in #23). The advantage is that you can push as many types of binaries (beta, alpha, snapshot, final, etc) as a developer you're in charge of what you push. There's also an option to link your binaries to JCenter and Maven Central.

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

3 participants