build.gradle 2.3 KB

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