build.gradle 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. 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("org.springframework.boot:spring-boot-starter-web")
  23. compile("org.springframework.boot:spring-boot-starter-thymeleaf")
  24. compile("org.springframework.boot:spring-boot-starter-data-jpa")
  25. compile("org.springframework.boot:spring-boot-starter-actuator")
  26. compile("net.sourceforge.nekohtml:nekohtml:1.9.15")
  27. compile("mysql:mysql-connector-java:5.1.41")
  28. compile("com.alibaba:druid:1.1.6")
  29. testCompile('org.springframework.boot:spring-boot-starter-test')
  30. }
  31. customDocker {
  32. baseImage '10.10.100.200:5000/alpine-java:8'
  33. registry '10.10.100.200:5000'
  34. }