build.gradle 821 B

1234567891011121314151617181920212223
  1. apply plugin: 'org.springframework.boot'
  2. apply plugin: 'com.bmuschko.docker-spring-boot-application'
  3. dependencies {
  4. compile project(':framework:framework-server-starter')
  5. compile project(':base:base-account:base-account-service')
  6. compile project(':base:base-datacenter:base-datacenter-service')
  7. compile project(':base:base-file:base-file-service')
  8. compile project(':base:base-sms:base-sms-service')
  9. compile project(':applications:app-operation:app-operation-service')
  10. compile project(':applications:app-help:app-help-service')
  11. }
  12. docker {
  13. springBootApplication {
  14. baseImage = 'java8-jce:latest'
  15. ports = [9000]
  16. images = ["${dockerRegistry}/${dockerGroup}/${project.name}"]
  17. jvmArgs = ['-Xmx2048m', '-Duser.timezone=GMT+08', '-Dfile.encoding=UTF-8']
  18. }
  19. }