Holds locations of all external executables, i.e., protoc and plugins.
| Type | Name and description |
|---|---|
org.gradle.api.NamedDomainObjectContainer<ExecutableLocator> |
plugins |
ExecutableLocator |
protoc |
| Constructor and description |
|---|
ToolsLocator
(org.gradle.api.Project project) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
static java.util.List<java.lang.String> |
artifactParts(java.lang.String artifactCoordinate) |
|
void |
resolve(org.gradle.api.Project project)For every ExecutableLocator that points to an artifact spec: creates a project configuration dependency for that artifact, registers the configuration dependency as an input dependency with the specified tasks, and adds a doFirst {} block to the specified tasks which resolves the spec, downloads the artifact, and point to the local path. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
For every ExecutableLocator that points to an artifact spec: creates a project configuration dependency for that artifact, registers the configuration dependency as an input dependency with the specified tasks, and adds a doFirst {} block to the specified tasks which resolves the spec, downloads the artifact, and point to the local path.
Groovy Documentation