build.gradle 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. springBoot {
  24. buildInfo()
  25. }
  26. dependencies {
  27. implementation project(":common:utils")
  28. implementation project(":common:data")
  29. implementation("$bootGroup:spring-boot-starter-web")
  30. implementation("$bootGroup:spring-boot-starter-undertow")
  31. // implementation("$bootGroup:spring-boot-starter-websocket")
  32. implementation("org.postgresql:postgresql:$postgresqlDriverVersion")
  33. implementation "com.baomidou:mybatis-plus-boot-starter:$mybatisPlusVersion"
  34. implementation "com.baomidou:mybatis-plus-generator:$mybatisPlusVersion"
  35. implementation("com.alibaba:druid:$alibabaDruidVersion")
  36. implementation("com.alibaba:fastjson:1.2.83")
  37. implementation("$bootGroup:spring-boot-starter-test")
  38. implementation("com.xuxueli:xxl-job-core:$xxlJobVersion")
  39. implementation("org.springframework.cloud:spring-cloud-starter-bootstrap")
  40. implementation("com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-discovery")
  41. implementation("com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-config")
  42. implementation("$cloudGroup:spring-cloud-starter-openfeign")
  43. implementation("cn.hutool:hutool-all:5.8.18")
  44. implementation("org.springframework.boot:spring-boot-configuration-processor")
  45. implementation("org.codehaus.groovy:groovy-all:2.4.1")
  46. implementation("com.taosdata.jdbc:taos-jdbcdriver:$taosVersion2")
  47. implementation("com.baomidou:dynamic-datasource-spring-boot-starter:$mybatisPlusVersion")
  48. implementation("org.apache.poi:poi:5.2.3")
  49. implementation ("org.apache.poi:poi-ooxml:5.2.3")
  50. //注解处理器
  51. annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
  52. }