build.gradle 2.7 KB

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