Skip to content
New issue

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

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

Already on GitHub? # to your account

I can not use this project in Gradle #875

Closed
smiklosovic opened this issue Oct 3, 2016 · 4 comments
Closed

I can not use this project in Gradle #875

smiklosovic opened this issue Oct 3, 2016 · 4 comments

Comments

@smiklosovic
Copy link

smiklosovic commented Oct 3, 2016

I have to use this as a dependency.

I am running this in Gradle.

[buildinfo] Not using buildInfo properties file for this build.
Download https://repo1.maven.org/maven2/fr/inria/gforge/spoon/spoon-core/5.3.0/spoon-core-5.3.0.pom
Download https://repo1.maven.org/maven2/com/martiansoftware/jsap/2.1/jsap-2.1.pom

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not resolve all dependencies for configuration ':runtimeCopy'.

    Could not find org.eclipse.jdt:org.eclipse.jdt.core:3.12.0.v20160516-2131.
    Searched in the following locations:

@smiklosovic smiklosovic changed the title I want to inclu I can not use this project in Maven Oct 3, 2016
@monperrus
Copy link
Collaborator

do you mean in gradle (message) or in maven (title)?

@monperrus
Copy link
Collaborator

What if you add in your gradle config file?

repositories {
            mavenLocal()
            maven {
              url 'http://spoon.gforge.inria.fr/repositories/'
           }
}

@monperrus monperrus changed the title I can not use this project in Maven I can not use this project in Gradle Oct 3, 2016
@smiklosovic
Copy link
Author

Yes! Works, I have to read the docs better ...

@monperrus
Copy link
Collaborator

thanks @aveuiller for the solution.

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

No branches or pull requests

2 participants