build.gradle 918 B

123456789101112131415161718192021222324252627282930313233
  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. maven { url 'https://maven.aliyun.com/nexus/content/groups/public' }
  16. }
  17. dependencies {
  18. implementation 'org.apache.httpcomponents.client5:httpclient5:5.2.1'
  19. implementation 'org.apache.httpcomponents.client5:httpclient5-fluent:5.2.1'
  20. implementation 'org.springframework.boot:spring-boot-starter-data-redis'
  21. implementation 'org.springframework.boot:spring-boot-starter-web'
  22. compileOnly 'org.projectlombok:lombok'
  23. annotationProcessor 'org.projectlombok:lombok'
  24. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  25. }
  26. tasks.named('test') {
  27. useJUnitPlatform()
  28. }