build.gradle 593 B

123456789101112131415161718192021222324
  1. plugins {
  2. id 'org.springframework.boot' version '2.6.13'
  3. id 'io.spring.dependency-management' version '1.0.15.RELEASE'
  4. id 'java'
  5. }
  6. group = 'com.zzys'
  7. version = '0.0.1-SNAPSHOT'
  8. sourceCompatibility = '1.8'
  9. repositories {
  10. mavenCentral()
  11. }
  12. dependencies {
  13. implementation 'org.springframework.boot:spring-boot-starter-data-redis'
  14. implementation 'org.springframework.boot:spring-boot-starter-web'
  15. runtimeOnly 'com.oracle.database.jdbc:ojdbc8'
  16. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  17. }
  18. tasks.named('test') {
  19. useJUnitPlatform()
  20. }