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 { testCompile group: 'junit', name: 'junit', version: '4.12' compile fileTree(dir: 'src/main/lib', include: '*.jar') compile("$bootGroup:spring-boot-starter-web") compile("$bootGroup:spring-boot-starter-websocket") compile("$bootGroup:spring-boot-starter-undertow") 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 'com.alibaba:fastjson:1.2.17' compile 'com.squareup.okhttp3:okhttp:3.4.1' compile('com.fasterxml.jackson.datatype:jackson-datatype-jdk8') compile("com.netflix.feign:feign-core:8.18.0") compile("com.netflix.feign:feign-jackson:8.18.0") }