Make the tooling API available on Maven Central


(Andrew Oberstar) #1

As far as I can tell, the only way to include the tooling API in my project is to copy the JAR over. It would be nice to manage the dependency the same as everything else.


(Adam Murdoch) #2

The tooling API is published to ‘repo.gradle.org’. You can use this in your build script:

repositories {
    maven url 'http://repo.gradle.org/gradle/libs-releases-local'
}
  dependencies {
    compile "org.gradle:gradle-tooling-api:${toolingApiVersion}"
}

Have a look at the samples in ‘samples/toolingApi’.


(Andrew Oberstar) #3

Good to know. Thanks!