build.gradle 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. buildscript {
  2. repositories {
  3. mavenLocal()
  4. maven { url "http://maven.aliyun.com/nexus/content/groups/public" }
  5. mavenCentral()
  6. }
  7. dependencies {
  8. classpath("$bootGroup:spring-boot-gradle-plugin:$springBootVersion")
  9. }
  10. }
  11. version = '1.0.3'
  12. apply plugin: "$bootGroup"
  13. apply plugin: 'io.spring.dependency-management'
  14. dependencies {
  15. compile project(":common:utils")
  16. //compile fileTree(dir: 'src/main/lib', include: '*.jar')
  17. compile("$bootGroup:spring-boot-starter-web")
  18. compile("$bootGroup:spring-boot-starter-undertow")
  19. compile("$bootGroup:spring-boot-starter-websocket")
  20. compile('org.apache.logging.log4j:log4j-core:2.15.0')
  21. compile('org.apache.logging.log4j:log4j-jul:2.15.0')
  22. compile('org.apache.logging.log4j:log4j-api:2.15.0')
  23. compile('org.apache.logging.log4j:log4j-slf4j-impl:2.15.0')
  24. //compile 'mysql:mysql-connector-java:5.1.28'
  25. compile 'com.alibaba:druid:1.0.25'
  26. compile 'com.alibaba:fastjson:1.2.17'
  27. compile 'com.baomidou:mybatis-plus-boot-starter:3.1.1'
  28. compile 'com.baomidou:mybatis-plus-generator:3.1.1'
  29. testCompile("$bootGroup:spring-boot-starter-test")
  30. // https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt
  31. compile group: 'io.jsonwebtoken', name: 'jjwt', version: '0.9.0'
  32. implementation 'org.postgresql:postgresql:42.4.0'
  33. }