buildscript { repositories { mavenLocal() maven { allowInsecureProtocol = true 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' bootJar.enabled = false jar.enabled = true dependencies { implementation project(":common:utils") implementation project(":common:data") implementation project(":dao:dao-interface") implementation fileTree(dir: 'src/main/lib', include: '*.jar') implementation("$bootGroup:spring-boot-starter-log4j2") implementation("$bootGroup:spring-boot-starter-test") // https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt implementation group: 'io.jsonwebtoken', name: 'jjwt', version: '0.9.0' }