build.gradle 1011 B

1234567891011121314151617181920212223242526272829303132333435
  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 'com.aliyun.openservices:aliyun-log-producer:0.3.11'
  20. implementation 'org.apache.httpcomponents.client5:httpclient5:5.2.1'
  21. implementation 'org.apache.httpcomponents.client5:httpclient5-fluent:5.2.1'
  22. implementation 'org.springframework.boot:spring-boot-starter-data-redis'
  23. implementation 'org.springframework.boot:spring-boot-starter-web'
  24. compileOnly 'org.projectlombok:lombok'
  25. annotationProcessor 'org.projectlombok:lombok'
  26. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  27. }
  28. tasks.named('test') {
  29. useJUnitPlatform()
  30. }