tasks.gradle 310 B

123456789101112
  1. // Gradle Tasks Configurations
  2. // Created by huxz on 2017-3-17 14:39:36
  3. bootRun {
  4. addResources = true
  5. }
  6. docker {
  7. name "${dcokerRegistry}/${project.name}:${project.version}"
  8. tags "latest"
  9. dockerfile "${projectDir}/src/main/docker/Dockerfile"
  10. files "${buildDir}/libs/${project.name}.jar"
  11. }.dependsOn build