build.gradle 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. archivesBaseName='realtime-wind'
  17. dependencyManagement {
  18. imports {
  19. mavenBom "org.springframework.cloud:spring-cloud-dependencies:$springCloudVersion"
  20. mavenBom "org.springframework.boot:spring-boot-dependencies:$springBootVersion"
  21. mavenBom "com.alibaba.cloud:spring-cloud-alibaba-dependencies:$springCloudAlibabaVersion"
  22. }
  23. }
  24. dependencies {
  25. implementation project(":timeseries:dao-sql")
  26. implementation("$bootGroup:spring-boot-starter-web")
  27. implementation("$bootGroup:spring-boot-starter-undertow")
  28. implementation("org.postgresql:postgresql:$postgresqlDriverVersion")
  29. implementation "com.baomidou:mybatis-plus-boot-starter:$mybatisPlusVersion"
  30. implementation("com.alibaba:druid:$alibabaDruidVersion")
  31. //implementation("com.alibaba:fastjson:$fastjsonVersion")
  32. implementation("$bootGroup:spring-boot-starter-test")
  33. implementation("com.xuxueli:xxl-job-core:$xxlJobVersion")
  34. implementation("org.springframework.cloud:spring-cloud-starter-bootstrap")
  35. implementation("com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-discovery")
  36. implementation("com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-config")
  37. implementation("com.taosdata.jdbc:taos-jdbcdriver:$taosVersion2")
  38. implementation("$cloudGroup:spring-cloud-starter-openfeign")
  39. implementation("cn.hutool:hutool-all:5.8.18")
  40. implementation("com.baomidou:dynamic-datasource-spring-boot-starter:$mybatisPlusVersion")
  41. }
  42. test {
  43. useJUnitPlatform()
  44. }