build.gradle 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. buildscript {
  2. repositories {
  3. mavenLocal()
  4. maven {
  5. allowInsecureProtocol = true
  6. url "http://maven.aliyun.com/nexus/content/groups/public"
  7. }
  8. mavenCentral()
  9. }
  10. dependencies {
  11. classpath("$bootGroup:spring-boot-gradle-plugin:$springBootVersion")
  12. }
  13. }
  14. apply plugin: "$bootGroup"
  15. apply plugin: 'io.spring.dependency-management'
  16. dependencyManagement {
  17. imports {
  18. mavenBom "org.springframework.cloud:spring-cloud-dependencies:$springCloudVersion"
  19. mavenBom "org.springframework.boot:spring-boot-dependencies:$springBootVersion"
  20. mavenBom "com.alibaba.cloud:spring-cloud-alibaba-dependencies:$springCloudAlibabaVersion"
  21. }
  22. }
  23. dependencies {
  24. implementation project(":timeseries:dao-sql")
  25. implementation("$bootGroup:spring-boot-starter-web")
  26. implementation("$bootGroup:spring-boot-starter-undertow")
  27. implementation("org.postgresql:postgresql:$postgresqlDriverVersion")
  28. implementation "com.baomidou:mybatis-plus-boot-starter:$mybatisPlusVersion"
  29. implementation("com.alibaba:druid:$alibabaDruidVersion")
  30. implementation("com.alibaba:fastjson:$fastjsonVersion")
  31. implementation("$bootGroup:spring-boot-starter-test")
  32. implementation("com.xuxueli:xxl-job-core:$xxlJobVersion")
  33. implementation("org.springframework.cloud:spring-cloud-starter-bootstrap")
  34. implementation("com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-discovery")
  35. implementation("com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-config")
  36. implementation("$cloudGroup:spring-cloud-starter-openfeign")
  37. implementation("cn.hutool:hutool-all:5.8.18")
  38. }