build.gradle 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. plugins {
  2. id 'java'
  3. id 'org.springframework.boot' version '2.7.11'
  4. id 'io.spring.dependency-management' version '1.0.11.RELEASE'
  5. id 'org.jetbrains.kotlin.jvm' version '1.8.22'
  6. }
  7. group = 'com.gyee.gaia'
  8. version = '1.0.4'
  9. sourceCompatibility = '1.8'
  10. repositories {
  11. maven {
  12. url 'https://maven.aliyun.com/repository/public/'
  13. }
  14. maven {
  15. url 'https://maven.aliyun.com/repository/spring/'
  16. }
  17. mavenLocal()
  18. mavenCentral()
  19. }
  20. dependencies {
  21. implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
  22. implementation("org.springframework.boot:spring-boot-starter-web")
  23. implementation 'org.springframework.boot:spring-boot-starter-jdbc'
  24. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
  25. implementation 'com.oracle.database.jdbc:ojdbc8'
  26. implementation group: 'com.alibaba', name: 'fastjson', version: '1.2.31_noneautotype'
  27. implementation 'com.alibaba:druid:1.2.14'
  28. implementation 'com.netflix.feign:feign-core:8.18.0'
  29. implementation 'com.netflix.feign:feign-jackson:8.18.0'
  30. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  31. }
  32. tasks.named('test') {
  33. useJUnitPlatform()
  34. }