build.gradle 2.3 KB

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