build.gradle 1.8 KB

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