build.gradle 807 B

12345678910111213141516171819202122232425262728293031323334
  1. plugins {
  2. id 'org.springframework.boot' version '2.3.1.RELEASE'
  3. id 'io.spring.dependency-management' version '1.0.9.RELEASE'
  4. id 'java'
  5. }
  6. group = 'com.zcxk'
  7. version = '0.0.1-SNAPSHOT'
  8. sourceCompatibility = '1.8'
  9. configurations {
  10. compileOnly {
  11. extendsFrom annotationProcessor
  12. }
  13. }
  14. repositories {
  15. mavenLocal()
  16. maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
  17. mavenCentral()
  18. }
  19. dependencies {
  20. implementation 'org.springframework.boot:spring-boot-starter-web'
  21. compileOnly 'org.projectlombok:lombok'
  22. annotationProcessor 'org.projectlombok:lombok'
  23. testImplementation('org.springframework.boot:spring-boot-starter-test') {
  24. exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
  25. }
  26. }
  27. test {
  28. useJUnitPlatform()
  29. }