build.gradle 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. buildscript {
  2. repositories {
  3. maven { url "https://plugins.gradle.org/m2/" }
  4. maven { url 'http://113.105.74.141:8081/artifactory/libs-release-local' }
  5. maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
  6. jcenter()
  7. }
  8. dependencies {
  9. classpath 'com.uas.demo.mesh:spring-boot-docker-plugin:1.0.2'
  10. }
  11. }
  12. plugins {
  13. id "org.springframework.boot" version '1.5.9.RELEASE'
  14. }
  15. apply plugin: 'com.uas.docker.spring.boot'
  16. apply from: "$rootDir/gradle/persist-publish.gradle"
  17. configurations {
  18. all*.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
  19. }
  20. dependencies {
  21. compile project(':sso-common')
  22. compile("org.springframework.boot:spring-boot-starter-actuator")
  23. compile("org.springframework.boot:spring-boot-starter-web")
  24. compile("org.springframework.boot:spring-boot-starter-security")
  25. compile("org.springframework.boot:spring-boot-starter-data-jpa")
  26. compile("org.springframework.boot:spring-boot-starter-data-redis")
  27. compile("org.springframework:spring-tx:4.3.3.RELEASE")
  28. compile("org.springframework.session:spring-session:1.2.2.RELEASE")
  29. compile("mysql:mysql-connector-java:5.1.41")
  30. compile("com.alibaba:druid:1.1.6")
  31. compile("com.alibaba:fastjson:1.2.15")
  32. compile("com.alibaba:dubbo:2.8.4") {
  33. exclude(module: 'javax.servlet-api')
  34. exclude(module: 'httpcore')
  35. }
  36. compile("com.uas.message:message-mail-api:0.0.1")
  37. compile("com.uas.message:message-sms-api:0.0.1")
  38. compile("com.uas.account:sso-core:0.0.1-SNAPSHOT")
  39. compile("com.uas.account:account-common:0.0.1-SNAPSHOT")
  40. compile("com.uas.dfs:dfs-api:0.0.2")
  41. compile("org.apache.zookeeper:zookeeper:3.4.6")
  42. compile("com.github.sgroschupf:zkclient:0.1")
  43. compile("com.belerweb:pinyin4j:2.5.1")
  44. compile("commons-fileupload:commons-fileupload:1.3.2")
  45. compile("org.apache.httpcomponents:httpmime:4.4")
  46. compile("org.apache.httpcomponents:httpcore:4.4.5")
  47. compile("org.apache.httpcomponents:httpclient:4.4")
  48. compile("org.codehaus.jackson:jackson-core-asl:1.9.13")
  49. compile("org.codehaus.jackson:jackson-mapper-asl:1.9.13")
  50. compile("net.sf.ehcache:ehcache:2.10.3")
  51. compile("org.hibernate:hibernate-ehcache") {
  52. exclude(group: 'net.sf.ehcache', module: 'ehcache-core')
  53. }
  54. testCompile("org.springframework.boot:spring-boot-starter-test")
  55. }
  56. customDocker {
  57. baseImage '10.10.100.200:5000/alpine-java:8'
  58. registry '10.10.100.200:5000'
  59. }