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' compile 'org.springframework.kafka:spring-kafka' compile 'com.opencsv:opencsv:4.5' testCompile("$bootGroup:spring-boot-starter-test") }