subprojects { apply plugin: "java-library" apply plugin: "idea" apply plugin: "eclipse" apply plugin: "maven-publish" [compileJava, compileTestJava, javadoc]*.options*.encoding = "UTF-8" configurations { all*.exclude module: "spring-boot-starter-tomcat" all*.exclude module: "spring-boot-starter-logging" } dependencies { compileOnly("org.projectlombok:lombok:$lombokVersion") annotationProcessor("org.projectlombok:lombok:$lombokVersion") 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") } repositories { mavenLocal() maven { allowInsecureProtocol = true url "http://maven.aliyun.com/nexus/content/groups/public/" } mavenCentral() } }