build.gradle 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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. }
  19. repositories {
  20. mavenLocal()
  21. maven {
  22. allowInsecureProtocol = true
  23. url "http://maven.aliyun.com/nexus/content/groups/public/"
  24. }
  25. mavenCentral()
  26. }
  27. }