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.

39 lines
991 B

6 months ago
  1. plugins {
  2. id 'java'
  3. id 'org.springframework.boot' version '3.4.2'
  4. id 'io.spring.dependency-management' version '1.1.7'
  5. }
  6. group = 'com.qyft'
  7. version = '0.0.1-SNAPSHOT'
  8. java {
  9. toolchain {
  10. languageVersion = JavaLanguageVersion.of(17)
  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-web'
  23. implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.4'
  24. compileOnly 'org.projectlombok:lombok'
  25. developmentOnly 'org.springframework.boot:spring-boot-devtools'
  26. annotationProcessor 'org.projectlombok:lombok'
  27. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  28. testImplementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter-test:3.0.4'
  29. testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
  30. }
  31. tasks.named('test') {
  32. useJUnitPlatform()
  33. }