| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- buildscript {
- repositories {
- maven { url "https://plugins.gradle.org/m2/" }
- maven { url 'http://113.105.74.141:8081/artifactory/libs-release-local' }
- maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
- jcenter()
- }
- dependencies {
- classpath 'com.uas.demo.mesh:spring-boot-docker-plugin:1.0.0'
- classpath "org.springframework.boot:spring-boot-gradle-plugin:1.5.6.RELEASE"
- }
- }
- group 'com.uas.cloud.mall'
- version '0.1.6-MESH'
- apply plugin: 'java'
- apply plugin: 'maven'
- apply plugin: "org.springframework.boot"
- apply plugin: 'com.uas.docker.spring.boot'
- sourceCompatibility = 1.8
- repositories {
- maven { url 'http://10.10.101.21:8081/artifactory/libs-snapshot' }
- maven { url 'http://10.10.101.21:8081/artifactory/libs-release' }
- maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
- jcenter()
- mavenCentral()
- }
- dependencyManagement {
- imports {
- mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Camden.SR5'
- }
- }
- dependencies {
- compile "org.springframework.boot:spring-boot-starter-web"
- compile("org.springframework.boot:spring-boot-starter-thymeleaf")
- // Spring Boot will create a MultipartConfigElement bean and make itself ready for file uploads.
- compile("org.springframework.cloud:spring-cloud-starter-feign")
- compile("org.springframework.cloud:spring-cloud-starter-ribbon")
- compile("org.springframework.cloud:spring-cloud-starter-hystrix")
- compile "com.uas.cloud.base.commons:common:0.1.0"
- compile("org.springframework.boot:spring-boot-devtools")
- compile("org.springframework.boot:spring-boot-starter-actuator")
- compile("org.webjars:webjars-locator")
- compile "commons-fileupload:commons-fileupload:1.3.1"
- testCompile "org.springframework.boot:spring-boot-starter-test"
- }
- customDocker {
- baseImage 'hub.c.163.com/library/java:8-jre-alpine'
- registry '10.10.100.200:5000'
- }
- uploadArchives {
- repositories {
- mavenDeployer {
- repository(url: "http://10.10.101.21:8081/artifactory/libs-release-local") {
- authentication(userName: "yingp", password: "111111")
- }
- }
- }
- }.dependsOn build
|