build.gradle 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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(":common:utils")
  25. implementation project(":common:data")
  26. implementation("$bootGroup:spring-boot-starter-web")
  27. implementation("$bootGroup:spring-boot-starter-undertow")
  28. // implementation("$bootGroup:spring-boot-starter-websocket")
  29. implementation("org.postgresql:postgresql:$postgresqlDriverVersion")
  30. implementation "com.baomidou:mybatis-plus-boot-starter:$mybatisPlusVersion"
  31. implementation "com.baomidou:mybatis-plus-generator:$mybatisPlusVersion"
  32. implementation("com.alibaba:druid:$alibabaDruidVersion")
  33. implementation("com.alibaba:fastjson:$fastjsonVersion")
  34. implementation("$bootGroup:spring-boot-starter-test")
  35. implementation("com.xuxueli:xxl-job-core:$xxlJobVersion")
  36. implementation("org.springframework.cloud:spring-cloud-starter-bootstrap")
  37. implementation("com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-discovery")
  38. implementation("com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-config")
  39. implementation("$cloudGroup:spring-cloud-starter-openfeign")
  40. implementation("cn.hutool:hutool-all:5.8.18")
  41. implementation("org.springframework.boot:spring-boot-configuration-processor")
  42. }