build.gradle 859 B

1234567891011121314151617181920212223242526272829303132333435
  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. implementation 'com.xuxueli:xxl-job-core:2.2.0'
  22. compileOnly 'org.projectlombok:lombok'
  23. annotationProcessor 'org.projectlombok:lombok'
  24. testImplementation('org.springframework.boot:spring-boot-starter-test') {
  25. exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
  26. }
  27. }
  28. test {
  29. useJUnitPlatform()
  30. }