plugins { id 'org.springframework.boot' version '2.2.5.RELEASE' id 'io.spring.dependency-management' version '1.0.9.RELEASE' id 'java' } group = 'com.zcxk' version = '0.0.1-SNAPSHOT' sourceCompatibility = '1.8' configurations { compileOnly { extendsFrom annotationProcessor } } repositories { mavenLocal() maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'} } dependencies { //classpath 'se.transmode.gradle:gradle-docker:1.2' implementation('org.springframework.boot:spring-boot-starter-web') compile ('io.netty:netty-all:4.1.30.Final') //json工具 compile('com.alibaba:fastjson:1.2.41') compile('org.apache.commons:commons-lang3:3.4') //swagger在线接口文档生成工具 compile('io.springfox:springfox-swagger2:2.7.0') compile('io.springfox:springfox-swagger-ui:2.7.0') compileOnly 'org.projectlombok:lombok' annotationProcessor 'org.projectlombok:lombok' testImplementation('org.springframework.boot:spring-boot-starter-test') { exclude group: 'org.junit.vintage', module: 'junit-vintage-engine' } } test { useJUnitPlatform() }