Dmitri Pisarenko Dmitri Pisarenko - 1 year ago 61
Java Question

What are the Maven dependency parameters for the Java Gradle API?

I'm writing a Gradle plugin in Java. In order to use the IDE for developing (especially code completion), I need to add to the

file of the project the dependency information for the

Where can I find it?

I tried, but couldn't find it there.

Answer Source

I found this artifact after a longer search:


The artifact is available in following repository:

  <id>Spring Source Libs</id>

Add the repository to the repositories section in your pom.xml as well as the artifact as dependency. I tested it with a Maven project in my Eclipse workspace - the org.gradle.api.* classes are available and I can also browse the gradle-core sources.