buildscript { repositories { maven { url "https://plugins.gradle.org/m2/" } maven { url "https://maven.ubtob.net/artifactory/libs-release-local" credentials { username 'admin' password 'Admin2020yourkj2021' } } maven { url "http://maven.aliyun.com/nexus/content/groups/public/" } jcenter() } dependencies { classpath 'com.uas.demo.mesh:spring-boot-docker-plugin:1.0.2' } } plugins { id "org.springframework.boot" version '1.5.9.RELEASE' } apply plugin: 'com.uas.docker.spring.boot' apply from: "$rootDir/gradle/persist-publish.gradle" configurations { all*.exclude group: 'org.slf4j', module: 'slf4j-log4j12' } dependencies { compile project(':sso-common') compile("org.springframework.boot:spring-boot-starter-actuator") compile("org.springframework.boot:spring-boot-starter-web") compile("org.springframework.boot:spring-boot-starter-security") compile("org.springframework.boot:spring-boot-starter-data-jpa") compile("org.springframework.boot:spring-boot-starter-data-redis") compile("org.springframework:spring-tx:4.3.3.RELEASE") compile("org.springframework.session:spring-session:1.2.2.RELEASE") compile("mysql:mysql-connector-java:5.1.41") compile("com.alibaba:druid:1.1.6") compile("com.alibaba:fastjson:1.2.15") compile("com.alibaba:dubbo:2.8.4") { exclude(module: 'javax.servlet-api') exclude(module: 'httpcore') } compile("com.uas.message:message-mail-api:0.0.1") compile("com.uas.message:message-sms-api:0.0.1") compile("com.uas.account:sso-core:0.0.1-SNAPSHOT") compile("com.uas.dfs:dfs-api:0.0.2") compile("org.apache.zookeeper:zookeeper:3.4.6") compile("com.github.sgroschupf:zkclient:0.1") compile("com.belerweb:pinyin4j:2.5.1") compile("com.usoft.framework:usoft-security-utils:dev-1.0-SNAPSHOT") compile("com.usoft.framework:usoft-mq-utils:dev-1.3-SNAPSHOT") compile("commons-fileupload:commons-fileupload:1.3.2") compile("org.apache.httpcomponents:httpmime:4.4") compile("org.apache.httpcomponents:httpcore:4.4.5") compile("org.apache.httpcomponents:httpclient:4.4") compile("org.codehaus.jackson:jackson-core-asl:1.9.13") compile("org.codehaus.jackson:jackson-mapper-asl:1.9.13") compile("net.sf.ehcache:ehcache:2.10.3") compile("org.hibernate:hibernate-ehcache") { exclude(group: 'net.sf.ehcache', module: 'ehcache-core') } testCompile("org.springframework.boot:spring-boot-starter-test") } customDocker { baseImage '10.10.100.200:5000/alpine-java:8' registry '10.10.100.200:5000' }