build.gradle 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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 "eclipse"
  14. id "org.springframework.boot" version "1.5.9.RELEASE"
  15. }
  16. apply plugin: 'com.uas.docker.spring.boot'
  17. dependencies {
  18. // Custom Libraries
  19. compile project(":sso-common")
  20. compile project(path: ":sso-server", configuration: "persist") // Project Lib
  21. compile("org.springframework.boot:spring-boot-starter-web")
  22. compile("org.springframework.boot:spring-boot-starter-thymeleaf")
  23. compile("org.springframework.boot:spring-boot-starter-data-jpa")
  24. compile("org.springframework.boot:spring-boot-starter-actuator")
  25. compile("net.sourceforge.nekohtml:nekohtml:1.9.15")
  26. compile("mysql:mysql-connector-java:5.1.41")
  27. compile("com.alibaba:druid:1.1.6")
  28. testCompile('org.springframework.boot:spring-boot-starter-test')
  29. }
  30. customDocker {
  31. baseImage '10.10.100.200:5000/alpine-java:8'
  32. registry '10.10.100.200:5000'
  33. }