build.gradle 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. buildscript {
  2. repositories {
  3. maven { url "https://plugins.gradle.org/m2/" }
  4. maven { url 'http://maven.ubtob.com/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 "eclipse"
  14. id "org.springframework.boot" version "1.5.9.RELEASE"
  15. }
  16. apply plugin: 'com.uas.docker.spring.boot'
  17. apply from: "$projectDir/gradle/publish.gradle"
  18. dependencies {
  19. // Custom Libraries
  20. compile project(":sso-common")
  21. compile project(path: ":sso-server", configuration: "persist") // Project Lib
  22. compile("com.google.guava:guava:23.6-jre")
  23. compile("org.springframework.boot:spring-boot-starter-web")
  24. compile("org.springframework.boot:spring-boot-starter-thymeleaf")
  25. compile("org.springframework.boot:spring-boot-starter-data-jpa")
  26. compile("org.springframework.boot:spring-boot-starter-actuator")
  27. compile("org.springframework.boot:spring-boot-starter-mail")
  28. compile("org.springframework.boot:spring-boot-starter-data-redis")
  29. compile("net.sourceforge.nekohtml:nekohtml:1.9.15")
  30. compile("com.usoft.framework:usoft-mq-utils:dev-1.3-SNAPSHOT")
  31. compile('commons-codec:commons-codec:1.11')
  32. compile("mysql:mysql-connector-java:5.1.41")
  33. compile("com.alibaba:druid:1.1.6")
  34. compile("net.sf.ehcache:ehcache:2.10.3")
  35. compile("org.hibernate:hibernate-ehcache") {
  36. exclude(group: 'net.sf.ehcache', module: 'ehcache-core')
  37. }
  38. testCompile('org.springframework.boot:spring-boot-starter-test')
  39. }
  40. customDocker {
  41. baseImage '10.10.100.200:5000/alpine-java:8'
  42. registry '10.10.100.200:5000'
  43. }