build.gradle 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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. apply plugin: "$bootGroup"
  12. apply plugin: 'io.spring.dependency-management'
  13. dependencies {
  14. testCompile group: 'junit', name: 'junit', version: '4.12'
  15. compile fileTree(dir: 'src/main/lib', include: '*.jar')
  16. compile("$bootGroup:spring-boot-starter-web")
  17. compile("$bootGroup:spring-boot-starter-websocket")
  18. compile("$bootGroup:spring-boot-starter-undertow")
  19. compile('org.apache.logging.log4j:log4j-core:2.15.0')
  20. compile('org.apache.logging.log4j:log4j-jul:2.15.0')
  21. compile('org.apache.logging.log4j:log4j-api:2.15.0')
  22. compile('org.apache.logging.log4j:log4j-slf4j-impl:2.15.0')
  23. compile 'com.alibaba:fastjson:1.2.17'
  24. compile 'com.squareup.okhttp3:okhttp:3.4.1'
  25. compile('com.fasterxml.jackson.datatype:jackson-datatype-jdk8')
  26. compile("com.netflix.feign:feign-core:8.18.0")
  27. compile("com.netflix.feign:feign-jackson:8.18.0")
  28. }