123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- buildscript {
- repositories {
- maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
- maven { url "https://plugins.gradle.org/m2/" }
- mavenCentral()
- jcenter()
- }
- dependencies {
- classpath("org.springframework.boot:spring-boot-gradle-plugin:1.4.4.RELEASE")
- }
- }
- group 'com.uas.cloud'
- version '0.0.1'
- apply plugin: 'java'
- apply plugin: 'idea'
- apply plugin: 'maven'
- apply plugin: 'spring-boot'
- jar {
- baseName = project.name
- version = ''
- }
- sourceCompatibility = 1.8
- repositories {
- mavenLocal()
- maven { url "http://repo.spring.io/libs-milestone" }
- maven { url "http://repo.spring.io/libs-release" }
- maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
- mavenCentral()
- }
- dependencyManagement {
- imports {
- mavenBom "org.springframework.cloud:spring-cloud-dependencies:Camden.SR2"
- }
- }
- dependencies {
- compile 'org.springframework.cloud:spring-cloud-starter-eureka-server'
- compile 'org.springframework.cloud:spring-cloud-config-client'
- compile 'org.springframework.boot:spring-boot-starter-hateoas'
- compile 'org.springframework.boot:spring-boot-actuator'
- }
- uploadArchives {
- repositories {
- mavenDeployer {
- repository(url: "http://10.10.101.21:8081/artifactory/libs-release-local") {
- authentication(userName: "yingp", password: "111111")
- }
- }
- }
- }.dependsOn build
|