build.gradle 1.7 KB

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