build.gradle 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. plugins {
  2. id 'java'
  3. // id 'war'
  4. id 'org.springframework.boot' version '3.4.5'
  5. id 'io.spring.dependency-management' version '1.1.7'
  6. }
  7. group = 'com.tsi'
  8. version = '0.0.1-SNAPSHOT'
  9. java {
  10. toolchain {
  11. languageVersion = JavaLanguageVersion.of(17)
  12. }
  13. }
  14. configurations {
  15. compileOnly {
  16. extendsFrom annotationProcessor
  17. }
  18. }
  19. repositories {
  20. mavenCentral()
  21. }
  22. dependencies {
  23. implementation 'org.springframework.boot:spring-boot-starter-actuator'
  24. implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
  25. implementation 'org.springframework.boot:spring-boot-starter-web'
  26. implementation 'org.springframework.boot:spring-boot-starter-web-services'
  27. implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.4'
  28. implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6'
  29. compileOnly 'org.projectlombok:lombok'
  30. developmentOnly 'org.springframework.boot:spring-boot-devtools'
  31. runtimeOnly 'com.oracle.database.jdbc:ojdbc11'
  32. annotationProcessor 'org.projectlombok:lombok'
  33. // providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
  34. implementation 'org.springframework.boot:spring-boot-starter-websocket'
  35. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  36. testImplementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter-test:3.0.4'
  37. testImplementation 'org.springframework.security:spring-security-test'
  38. testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
  39. implementation 'org.apache.poi:poi:5.2.3'
  40. implementation 'org.apache.poi:poi-ooxml:5.2.3'
  41. implementation group: 'com.oracle.ojdbc', name: 'orai18n', version: '19.3.0.0'
  42. }
  43. tasks.named('test') {
  44. useJUnitPlatform()
  45. }