金币系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.1 KiB

  1. plugins {
  2. id 'java'
  3. id 'org.springframework.boot' version '3.3.6'
  4. id 'io.spring.dependency-management' version '1.1.6'
  5. }
  6. group = 'com.example'
  7. version = '0.0.1-SNAPSHOT'
  8. java {
  9. toolchain {
  10. languageVersion = JavaLanguageVersion.of(21)
  11. }
  12. }
  13. configurations {
  14. compileOnly {
  15. extendsFrom annotationProcessor
  16. }
  17. }
  18. repositories {
  19. mavenCentral()
  20. }
  21. dependencies {
  22. implementation 'org.springframework.boot:spring-boot-starter-jdbc'
  23. implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
  24. implementation 'org.springframework.boot:spring-boot-starter-web'
  25. implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.4'
  26. compileOnly 'org.projectlombok:lombok'
  27. runtimeOnly 'com.mysql:mysql-connector-j'
  28. annotationProcessor 'org.projectlombok:lombok'
  29. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  30. testImplementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter-test:3.0.4'
  31. testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
  32. }
  33. tasks.named('test') {
  34. useJUnitPlatform()
  35. }