| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- buildscript {
- ext {
- springBootVersion = '1.4.4.RELEASE'
- }
- repositories {
- mavenLocal()
- mavenCentral()
- }
- dependencies {
- classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
- }
- }
- group 'com.uas.cloud.mall.service'
- version '1.0-SNAPSHOT'
- apply plugin: 'idea'
- apply plugin: 'java'
- apply plugin: 'spring-boot'
- sourceCompatibility = 1.8
- targetCompatibility = 1.8
- repositories {
- mavenLocal()
- mavenCentral()
- }
- dependencyManagement {
- imports {
- mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Camden.SR5'
- }
- }
- dependencies {
- compile('org.springframework.cloud:spring-cloud-starter-eureka')
- compile('org.springframework.boot:spring-boot-starter-data-mongodb')
- testCompile('org.springframework.boot:spring-boot-starter-test')
- }
- subprojects {
- apply plugin: 'idea'
- apply plugin: 'java'
- apply plugin: 'spring-boot'
- sourceCompatibility = 1.8
- targetCompatibility = 1.8
- repositories {
- mavenLocal()
- jcenter()
- mavenCentral()
- }
- dependencyManagement {
- imports {
- mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Camden.SR5'
- }
- }
- idea {
- module {
- downloadSources = true
- downloadJavadoc = false
- inheritOutputDirs = false
- outputDir = file("$buildDir/classes/main/")
- }
- }
- }
- idea {
- project {
- jdkName = '1.8'
- languageLevel = '1.8'
- }
- }
|