build.gradle 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. plugins {
  2. id 'java'
  3. id 'org.springframework.boot' version '2.7.9'
  4. id 'io.spring.dependency-management' version '1.0.15.RELEASE'
  5. }
  6. group = 'com.gyee'
  7. version = '0.0.1'
  8. sourceCompatibility = '1.8'
  9. configurations {
  10. compileOnly {
  11. extendsFrom annotationProcessor
  12. }
  13. }
  14. repositories {
  15. mavenLocal()
  16. maven {
  17. url 'https://maven.aliyun.com/repository/public/'
  18. }
  19. maven {
  20. url 'https://maven.aliyun.com/repository/gradle-plugin/'
  21. }
  22. mavenCentral()
  23. }
  24. dependencies {
  25. implementation 'org.springframework.boot:spring-boot-starter-web'
  26. compileOnly 'org.projectlombok:lombok'
  27. runtimeOnly 'com.oracle.database.jdbc:ojdbc8'
  28. runtimeOnly 'org.postgresql:postgresql'
  29. annotationProcessor 'org.projectlombok:lombok'
  30. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  31. implementation 'redis.clients:jedis:4.3.1'
  32. implementation 'xerces:xercesImpl:2.12.2'
  33. implementation 'org.apache.poi:poi-ooxml:5.2.3'
  34. implementation 'cn.hutool:hutool-poi:5.8.12'
  35. implementation 'cn.hutool:hutool-core:5.8.13'
  36. implementation 'com.taosdata.jdbc:taos-jdbcdriver:3.1.0'
  37. implementation 'com.alibaba:druid:1.2.16'
  38. implementation 'com.baomidou:mybatis-plus-boot-starter:3.5.3.1'
  39. }
  40. tasks.named('test') {
  41. useJUnitPlatform()
  42. }