@Singleton
public class GolangRepositoryHandler
extends groovy.lang.GroovyObjectSupport
implements org.gradle.util.Configurable<java.lang.Void>
GolangRepositoryHandler instance is registered into
Project.getRepositories, so the following code:
repositories{
golang {
root 'github.com/some/package'
dir '/path/to/the/package'
}
golang {
root 'appengine'
emptyDir()
}
}
will result in two invocations of GolangRepositoryHandler.configure method.
| Constructor and Description |
|---|
GolangRepositoryHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Void |
configure(groovy.lang.Closure cl) |
GolangRepository |
findMatchedRepository(java.lang.String name) |
public GolangRepository findMatchedRepository(java.lang.String name)
public java.lang.Void configure(groovy.lang.Closure cl)
configure in interface org.gradle.util.Configurable<java.lang.Void>