apply plugin: 'org.springframework.boot' apply plugin: 'com.bmuschko.docker-spring-boot-application' dependencies { compile project(':framework:framework-server-starter') compile project(':base:base-account:base-account-service') compile project(':base:base-datacenter:base-datacenter-service') compile project(':base:base-file:base-file-service') compile project(':base:base-sms:base-sms-service') compile project(':base:base-biz:base-biz-service') compile project(':base:base-process:base-process-service') compile project(":applications:app-sale:app-sale-service") compile project(':applications:app-document:app-document-service') compile project(':applications:app-purchase:app-purchase-service') compile project(':applications:app-document:app-document-task') compile project(':applications:app-purchase:app-purchase-task') compile project(':applications:app-sale:app-sale-task') compile project(':applications:app-make:app-make-task') } docker { springBootApplication { baseImage = 'java8-jce:latest' ports = [9000] images = ["${dockerRegistry}/${dockerGroup}/${project.name}"] jvmArgs = ['-Xmx2048m', '-Duser.timezone=GMT+08', '-Dfile.encoding=UTF-8'] } }