build.gradle 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. subprojects {
  2. apply plugin: "java-library"
  3. apply plugin: "idea"
  4. apply plugin: "eclipse"
  5. apply plugin: "maven-publish"
  6. [compileJava, compileTestJava, javadoc]*.options*.encoding = "UTF-8"
  7. configurations {
  8. all*.exclude module: "spring-boot-starter-tomcat"
  9. all*.exclude module: "spring-boot-starter-logging"
  10. }
  11. dependencies {
  12. compileOnly("org.projectlombok:lombok:$lombokVersion")
  13. annotationProcessor("org.projectlombok:lombok:$lombokVersion")
  14. // implementation("org.apache.logging.log4j:log4j-core:$log4jVersion")
  15. // implementation("org.apache.logging.log4j:log4j-jul:$log4jVersion")
  16. // implementation("org.apache.logging.log4j:log4j-api:$log4jVersion")
  17. // implementation("org.apache.logging.log4j:log4j-slf4j-impl:$log4jVersion")
  18. implementation("org.springframework.boot:spring-boot-starter-log4j2:$springBootVersion")
  19. }
  20. repositories {
  21. mavenLocal()
  22. maven {
  23. allowInsecureProtocol = true
  24. url "http://maven.aliyun.com/nexus/content/groups/public/"
  25. }
  26. mavenCentral()
  27. }
  28. }