build.gradle 724 B

12345678910111213141516171819202122232425262728
  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. }
  15. repositories {
  16. mavenLocal()
  17. maven {
  18. allowInsecureProtocol = true
  19. url "http://maven.aliyun.com/nexus/content/groups/public/"
  20. }
  21. mavenCentral()
  22. }
  23. }