buildscript { repositories { mavenLocal() maven { url "http://maven.aliyun.com/nexus/content/groups/public" } mavenCentral() } dependencies { classpath("$bootGroup:spring-boot-gradle-plugin:$springBootVersion") } } apply plugin: "$bootGroup" apply plugin: 'io.spring.dependency-management' dependencies { compile project(":common:utils") compile project(":common:data") compile project(":dao:dao-interface") compile project(":dao:dao-sql") compile fileTree(dir: 'src/main/lib', include: '*.jar') compile("$bootGroup:spring-boot-starter-web") compile("$bootGroup:spring-boot-starter-undertow") compile("$bootGroup:spring-boot-starter-websocket") compile('org.apache.logging.log4j:log4j-core:2.15.0') compile('org.apache.logging.log4j:log4j-jul:2.15.0') compile('org.apache.logging.log4j:log4j-api:2.15.0') compile('org.apache.logging.log4j:log4j-slf4j-impl:2.15.0') compile 'mysql:mysql-connector-java:5.1.28' compile 'com.alibaba:druid:1.0.25' compile 'com.alibaba:fastjson:1.2.17' testCompile("$bootGroup:spring-boot-starter-test") compile("com.netflix.feign:feign-core:8.18.0") compile("com.netflix.feign:feign-jackson:8.18.0") }