build.gradle 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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 = '1.0.02'
  14. apply plugin: "$bootGroup"
  15. apply plugin: 'io.spring.dependency-management'
  16. dependencies {
  17. implementation fileTree(dir: 'src/main/lib', include: '*.jar')
  18. //implementation ("org.postgresql:postgresql:$postgresqlDriverVersion")
  19. // implementation ("mysql:mysql-connector-java:$mysqlConnectorVersion")
  20. implementation("$bootGroup:spring-boot-starter-web")
  21. implementation("$bootGroup:spring-boot-starter-undertow")
  22. implementation("$bootGroup:spring-boot-starter-websocket")
  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. implementation "com.alibaba:druid:$alibabaDruidVersion"
  28. implementation "com.alibaba:fastjson:$fastjsonVersion"
  29. implementation("org.codehaus.groovy:groovy-all:$groovyVersion")
  30. implementation "com.baomidou:mybatis-plus-boot-starter:3.1.1"
  31. implementation "com.baomidou:mybatis-plus-generator:3.1.1"
  32. implementation("com.taosdata.jdbc:taos-jdbcdriver:2.0.35") {
  33. exclude group: 'com.alibaba', module: 'fastjson'
  34. }
  35. implementation("org.apache.commons:commons-lang3:$commonsLang3Version")
  36. testImplementation("$bootGroup:spring-boot-starter-test")
  37. implementation("io.github.openfeign:feign-core:$openFeignVersion")
  38. implementation("io.github.openfeign:feign-jackson:$openFeignVersion")
  39. }