1
0
mirror of https://github.com/google/nomulus synced 2026-01-06 21:47:31 +00:00

Build proxy image in Gradle (#179)

This commit is contained in:
Lai Jiang
2019-07-17 20:38:03 -04:00
committed by GitHub
parent 30f6113b05
commit 8fd5ab2bec
2 changed files with 15 additions and 11 deletions

View File

@@ -16,7 +16,11 @@ apply plugin: 'java'
createUberJar('deployJar', 'proxy_server', 'google.registry.proxy.ProxyServer')
project.build.dependsOn deployJar
task buildProxyImage(dependsOn: deployJar, type: Exec) {
commandLine 'docker', 'build', '-t', 'proxy', '.'
}
project.build.dependsOn buildProxyImage
dependencies {
def deps = rootProject.dependencyMap