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.
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’.
Good to know. Thanks!