Add a task to run the nomulus tool (#262)

This commit is contained in:
Lai Jiang 2019-09-12 08:09:32 -07:00 committed by GitHub
parent 48d8b1274f
commit b87ef869a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -592,6 +592,13 @@ task findGoldenImages(type: JavaExec) {
args arguments
}
// To run the nomulus tool:
// gradle registryTool --args="foo --bar"
task registryTool(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'google.registry.tools.RegistryTool'
}
task generateGoldenImages(type: Test) {
// Common exclude pattern. See README in parent directory for explanation.
exclude "**/*TestCase.*", "**/*TestSuite.*"