build.gradle 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. bootJar.enabled = false
  17. jar.enabled = true
  18. dependencies {
  19. implementation project(":common:utils")
  20. implementation project(":common:data")
  21. implementation project(":timeseries:dao-interface")
  22. implementation fileTree(dir: 'src/main/lib', include: '*.jar')
  23. implementation("org.apache.logging.log4j:log4j-core:$log4jVersion")
  24. implementation("org.apache.logging.log4j:log4j-jul:$log4jVersion")
  25. implementation("org.apache.logging.log4j:log4j-api:$log4jVersion")
  26. implementation("org.apache.logging.log4j:log4j-slf4j-impl:$log4jVersion")
  27. //compile("com.github.it235:knife4j-redis-lettuce-stater")
  28. // compile('org.springframework.boot:spring-boot-starter-data-redis')
  29. // implementation "org.springframework.boot:spring-boot-starter-redis:1.3.5.RELEASE"
  30. implementation("$bootGroup:spring-boot-starter-test")
  31. // https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt
  32. implementation group: 'io.jsonwebtoken', name: 'jjwt', version: '0.9.0'
  33. implementation 'org.apache.commons:commons-pool2'
  34. implementation("$bootGroup:spring-boot-starter-data-redis-reactive")
  35. implementation 'com.fasterxml.jackson.core:jackson-databind'
  36. }