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") compile project(":opentsdb-client") 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-log4j2") compile 'com.alibaba:fastjson:1.2.17' testCompile("$bootGroup:spring-boot-starter-test") }