build.gradle 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. plugins {
  2. id 'java'
  3. id 'org.springframework.boot' version '3.0.2'
  4. id 'io.spring.dependency-management' version '1.1.0'
  5. }
  6. group = 'com.sxtvs'
  7. version = '0.0.1-SNAPSHOT'
  8. sourceCompatibility = '17'
  9. configurations {
  10. compileOnly {
  11. extendsFrom annotationProcessor
  12. }
  13. }
  14. repositories {
  15. mavenCentral()
  16. // maven { url 'https://maven.aliyun.com/nexus/content/groups/public' }
  17. }
  18. dependencies {
  19. implementation 'commons-io:commons-io:2.11.0'
  20. implementation 'com.aliyun.openservices:aliyun-log-producer:0.3.11'
  21. implementation 'org.apache.httpcomponents.client5:httpclient5:5.2.1'
  22. implementation 'org.apache.httpcomponents.client5:httpclient5-fluent:5.2.1'
  23. implementation 'org.springframework.boot:spring-boot-starter-data-redis'
  24. implementation 'org.springframework.boot:spring-boot-starter-web'
  25. compileOnly 'org.projectlombok:lombok'
  26. annotationProcessor 'org.projectlombok:lombok'
  27. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  28. }
  29. tasks.named('test') {
  30. useJUnitPlatform()
  31. }