build.gradle 968 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. plugins {
  2. id 'java'
  3. id 'org.springframework.boot' version '2.7.9'
  4. id 'io.spring.dependency-management' version '1.0.15.RELEASE'
  5. id 'java-library'
  6. }
  7. version '1.0'
  8. allprojects {
  9. repositories {
  10. mavenLocal()
  11. maven {
  12. url 'https://maven.aliyun.com/repository/public/'
  13. }
  14. maven {
  15. url 'https://maven.aliyun.com/repository/gradle-plugin/'
  16. }
  17. mavenCentral()
  18. }
  19. group = 'com.gyee'
  20. }
  21. subprojects {
  22. apply plugin: 'org.springframework.boot'
  23. apply plugin: 'io.spring.dependency-management'
  24. apply plugin: 'java'
  25. apply plugin: 'java-library'
  26. dependencies {
  27. implementation 'org.springframework.boot:spring-boot-starter'
  28. compileOnly 'org.projectlombok:lombok'
  29. annotationProcessor 'org.projectlombok:lombok'
  30. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  31. }
  32. test {
  33. useJUnitPlatform()
  34. }
  35. }