build.gradle 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. buildscript {
  2. repositories {
  3. mavenLocal()
  4. maven {url "http://maven.aliyun.com/nexus/content/groups/public/"}
  5. }
  6. dependencies {
  7. classpath("org.springframework.boot:spring-boot-gradle-plugin:1.5.3.RELEASE")
  8. }
  9. }
  10. apply plugin: 'org.springframework.boot'
  11. version = '1.0'
  12. sourceCompatibility = 1.8
  13. repositories {
  14. mavenCentral()
  15. maven {url "http://maven.aliyun.com/nexus/content/groups/public/"}
  16. }
  17. dependencies {
  18. compile('org.springframework.boot:spring-boot-starter')
  19. testCompile('org.springframework.boot:spring-boot-starter-test')
  20. compile("org.springframework.boot:spring-boot-starter-web")
  21. compile("org.springframework.boot:spring-boot-starter-aop")
  22. compile 'org.jboss.spec.javax.el:jboss-el-api_3.0_spec:1.0.0.Final'
  23. compile 'io.jsonwebtoken:jjwt:0.7.0'
  24. compile 'io.springfox:springfox-swagger2:2.7.0'
  25. compile 'io.springfox:springfox-swagger-ui:2.7.0'
  26. compile 'commons-codec:commons-codec:1.6'
  27. compile("org.javassist:javassist")
  28. compile("org.jboss.netty:netty:3.2.10.Final")
  29. compile 'com.github.pagehelper:pagehelper:4.1.1'
  30. compile 'com.alibaba:fastjson:1.2.23'
  31. compile 'commons-io:commons-io:2.6'
  32. compile ('com.101tec:zkclient:0.8'){
  33. exclude group: "org.slf4j", module: "slf4j-log4j12"
  34. }
  35. compile 'commons-beanutils:commons-beanutils-core:1.8.3'
  36. compile fileTree(dir: '../lib', include: '*.jar')
  37. compile (
  38. project(':model'),
  39. project(':common'),
  40. project(':interface')
  41. )
  42. }
  43. configurations.compile.resolutionStrategy {
  44. failOnVersionConflict()
  45. force 'commons-lang:commons-lang:2.5'
  46. force 'commons-logging:commons-logging:1.1.3'
  47. force 'com.google.guava:guava:18.0'
  48. force 'org.slf4j:slf4j-api:1.7.21'
  49. force 'log4j:log4j:1.2.17'
  50. }