build.gradle 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. version = "2.0.1"
  15. apply plugin: "$bootGroup"
  16. apply plugin: "io.spring.dependency-management"
  17. tasks.named('test') {
  18. useJUnitPlatform()
  19. }
  20. dependencies {
  21. implementation project(":common:utils")
  22. //implementation fileTree(dir: "src/main/lib", include: "*.jar")
  23. //implementation ("mysql:mysql-connector-java:$mysqlConnectorVersion")
  24. implementation ("org.postgresql:postgresql:$postgresqlDriverVersion")
  25. implementation("org.apache.commons:commons-lang3:$commonsLang3Version")
  26. implementation("$bootGroup:spring-boot-starter-web") {
  27. exclude group: "org.springframework.boot:spring-boot-starter-json"
  28. exclude group: "com.fasterxml.jackson.core:jackson-databind"
  29. }
  30. implementation("$bootGroup:spring-boot-starter-undertow")
  31. implementation("$bootGroup:spring-boot-starter-websocket")
  32. implementation("$bootGroup:spring-boot-starter-test")
  33. implementation("org.apache.logging.log4j:log4j-core:$log4jVersion")
  34. implementation("org.apache.logging.log4j:log4j-jul:$log4jVersion")
  35. implementation("org.apache.logging.log4j:log4j-api:$log4jVersion")
  36. implementation("org.apache.logging.log4j:log4j-slf4j-impl:$log4jVersion")
  37. implementation("com.alibaba:druid:$alibabaDruidVersion")
  38. implementation("com.alibaba:fastjson:$fastjsonVersion")
  39. implementation "com.baomidou:mybatis-plus-boot-starter:3.1.1"
  40. implementation "com.baomidou:mybatis-plus-generator:3.1.1"
  41. implementation("com.taosdata.jdbc:taos-jdbcdriver:2.0.35") {
  42. exclude group: 'com.alibaba', module: 'fastjson'
  43. }
  44. testImplementation("$bootGroup:spring-boot-starter-test")
  45. // https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt
  46. implementation group: "io.jsonwebtoken", name: "jjwt", version: "0.9.0"
  47. implementation("io.github.openfeign:feign-core:$openFeignVersion")
  48. implementation("io.github.openfeign:feign-jackson:$openFeignVersion")
  49. implementation("org.apache.poi:poi-ooxml:3.9")
  50. implementation("net.sourceforge.jexcelapi:jxl:2.6.12")
  51. implementation "org.springdoc:springdoc-openapi-ui:1.6.6"
  52. // implementation "io.springfox:springfox-boot-starter:3.0.0"
  53. // https://mvnrepository.com/artifact/org.apache.spark/spark-core
  54. // implementation group: 'org.apache.spark', name: 'spark-core_2.13', version: '3.2.2'
  55. // implementation 'com.redislabs:spark-redis_2.11:2.4.2'
  56. }