build.gradle 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. dependencies {
  16. implementation project(":common:utils")
  17. implementation project(":common:data")
  18. implementation project(":dao:dao-interface")
  19. implementation project(":dao:dao-sql")
  20. //compile project(":dao:dao-redis")
  21. // compile project(":dao:dao-simulator")
  22. //implementation project(":dao:dao-golden")
  23. //compile project(":dao:dao-taos")
  24. implementation project(":dao:dao-taoscz")
  25. //compile project(":dao:dao-hive")
  26. //compile project(":dao:dao-hadoop")
  27. implementation fileTree(dir: 'src/main/lib', include: '*.jar') //// oracle连接驱动 2区使用
  28. // implementation ("mysql:mysql-connector-java:$mysqlConnectorVersion")
  29. implementation ("com.alibaba:druid:$alibabaDruidVersion")
  30. testImplementation("$bootGroup:spring-boot-starter-test")
  31. implementation("$bootGroup:spring-boot-starter-web")
  32. //compile("$bootGroup:spring-boot-starter-session")
  33. implementation("$bootGroup:spring-boot-starter-websocket")
  34. implementation("$bootGroup:spring-boot-starter-undertow")
  35. implementation("org.apache.logging.log4j:log4j-core:$log4jVersion")
  36. implementation("org.apache.logging.log4j:log4j-jul:$log4jVersion")
  37. implementation("org.apache.logging.log4j:log4j-api:$log4jVersion")
  38. implementation("org.apache.logging.log4j:log4j-slf4j-impl:$log4jVersion")
  39. //compile('org.springframework.boot:spring-boot-starter-data-redis')
  40. //implementation "org.springframework.boot:spring-boot-starter-redis:1.3.5.RELEASE"
  41. //compile('io.moquette:moquette-broker:0.10')
  42. implementation('com.fasterxml.jackson.datatype:jackson-datatype-jdk8')
  43. implementation ("com.taosdata.jdbc:taos-jdbcdriver:$taosVersion")
  44. implementation 'org.postgresql:postgresql:42.4.0'
  45. }