build.gradle 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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.dfs:dfs-api:0.0.2")
  40. compile("org.apache.zookeeper:zookeeper:3.4.6")
  41. compile("com.github.sgroschupf:zkclient:0.1")
  42. compile("com.belerweb:pinyin4j:2.5.1")
  43. compile("com.usoft.framework:usoft-security-utils:dev-1.0-SNAPSHOT")
  44. compile("com.usoft.framework:usoft-mq-utils:dev-1.3-SNAPSHOT")
  45. compile("commons-fileupload:commons-fileupload:1.3.2")
  46. compile("org.apache.httpcomponents:httpmime:4.4")
  47. compile("org.apache.httpcomponents:httpcore:4.4.5")
  48. compile("org.apache.httpcomponents:httpclient:4.4")
  49. compile("org.codehaus.jackson:jackson-core-asl:1.9.13")
  50. compile("org.codehaus.jackson:jackson-mapper-asl:1.9.13")
  51. compile("net.sf.ehcache:ehcache:2.10.3")
  52. compile("org.hibernate:hibernate-ehcache") {
  53. exclude(group: 'net.sf.ehcache', module: 'ehcache-core')
  54. }
  55. testCompile("org.springframework.boot:spring-boot-starter-test")
  56. }
  57. customDocker {
  58. baseImage '10.10.100.200:5000/alpine-java:8'
  59. registry '10.10.100.200:5000'
  60. }