build.gradle 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. group 'com.cwms'
  2. version '2.0'
  3. buildscript {
  4. ext {
  5. springBootVersion = '1.5.3.RELEASE'
  6. }
  7. repositories {
  8. mavenLocal()
  9. maven {url "http://maven.aliyun.com/nexus/content/groups/public/"}
  10. }
  11. dependencies {
  12. classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
  13. }
  14. }
  15. apply plugin: 'java'
  16. apply plugin: 'idea'
  17. apply plugin: 'org.springframework.boot'
  18. version = '1.0'
  19. sourceCompatibility = 1.8
  20. repositories {
  21. mavenLocal()
  22. maven {url "http://maven.aliyun.com/nexus/content/groups/public/"}
  23. maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
  24. }
  25. dependencies {
  26. compile('org.springframework.boot:spring-boot-starter')
  27. compile 'org.codehaus.jackson:jackson-core-asl:1.9.9'
  28. compile 'org.codehaus.jackson:jackson-mapper-asl:1.9.9'
  29. testCompile('org.springframework.boot:spring-boot-starter-test')
  30. compile("org.springframework.boot:spring-boot-starter-web")
  31. compile("org.springframework.boot:spring-boot-starter-aop")
  32. compile 'org.jboss.spec.javax.el:jboss-el-api_3.0_spec:1.0.0.Final'
  33. compile 'io.jsonwebtoken:jjwt:0.7.0'
  34. compile 'commons-codec:commons-codec:1.6'
  35. compile("org.javassist:javassist")
  36. compile("org.jboss.netty:netty:3.2.10.Final")
  37. compile 'com.alibaba:fastjson:1.2.23'
  38. compile 'cn.hutool:hutool-all:4.5.10'
  39. compile 'org.apache.httpcomponents:httpclient:4.3.5'
  40. compile 'commons-beanutils:commons-beanutils-core:1.8.3'
  41. compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.4'
  42. compile 'com.alibaba:fastjson:1.2.76'
  43. compile 'com.google.code.gson:gson:2.8.5'
  44. compile 'com.jdcloud.sdk.apim:core:2.2.9'
  45. compile fileTree(dir: 'lib', include: '*.jar')
  46. }
  47. configurations.compile.resolutionStrategy {
  48. failOnVersionConflict()
  49. force 'commons-lang:commons-lang:2.5'
  50. force 'commons-logging:commons-logging:1.1.3'
  51. force 'com.google.guava:guava:18.0'
  52. force 'org.slf4j:slf4j-api:1.7.21'
  53. force 'log4j:log4j:1.2.17'
  54. }