build.gradle 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. version = '1.0.02'
  14. apply plugin: "$bootGroup"
  15. apply plugin: 'io.spring.dependency-management'
  16. dependencies {
  17. implementation project(":common:utils")
  18. implementation project(":common:data")
  19. implementation project(":dao:dao-interface")
  20. implementation project(":dao:dao-sql")
  21. implementation fileTree(dir: 'src/main/lib', include: '*.jar')
  22. implementation("$bootGroup:spring-boot-starter-web")
  23. implementation("$bootGroup:spring-boot-starter-undertow")
  24. implementation("$bootGroup:spring-boot-starter-websocket")
  25. implementation("org.apache.logging.log4j:log4j-core:$log4jVersion")
  26. implementation("org.apache.logging.log4j:log4j-jul:$log4jVersion")
  27. implementation("org.apache.logging.log4j:log4j-api:$log4jVersion")
  28. implementation("org.apache.logging.log4j:log4j-slf4j-impl:$log4jVersion")
  29. // implementation ("mysql:mysql-connector-java:$mysqlConnectorVersion")
  30. implementation "com.alibaba:druid:$alibabaDruidVersion"
  31. implementation "com.alibaba:fastjson:$fastjsonVersion"
  32. testImplementation("$bootGroup:spring-boot-starter-test")
  33. implementation("io.github.openfeign:feign-core:$openFeignVersion")
  34. implementation("io.github.openfeign:feign-jackson:$openFeignVersion")
  35. implementation 'org.postgresql:postgresql:42.4.0'
  36. }