build.gradle 814 B

1234567891011121314151617181920212223242526272829303132
  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 'cn.hutool:hutool-all:5.8.12'
  19. implementation 'org.springframework.boot:spring-boot-starter-data-redis'
  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. }
  25. tasks.named('test') {
  26. useJUnitPlatform()
  27. }