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("org.apache.logging.log4j:log4j-core:$log4jVersion") implementation("org.apache.logging.log4j:log4j-jul:$log4jVersion") implementation("org.apache.logging.log4j:log4j-api:$log4jVersion") implementation("org.apache.logging.log4j:log4j-slf4j-impl:$log4jVersion") }