| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- buildscript {
- ext {
- springBootVersion = '1.4.4.RELEASE'
- springloadedVersion = '1.2.6.RELEASE'
- }
- repositories {
- mavenCentral()
- jcenter()
- }
- dependencies {
- classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
- }
- }
- group = 'com.uas.cloud.mall'
- version = '0.1'
- apply plugin: 'java'
- apply plugin: 'org.springframework.boot'
- sourceCompatibility = 1.8 // 必须在apply java插件之后
- targetCompatibility = 1.8
- repositories {
- mavenCentral()
- }
- dependencyManagement {
- imports {
- mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Camden.SR5'
- }
- }
- dependencies {
- compile "org.springframework.boot:spring-boot-starter-data-jpa"
- compile "mysql:mysql-connector-java:5.1.21"
- compile 'org.springframework.cloud:spring-cloud-starter-config'
- compile "org.springframework.cloud:spring-cloud-starter-eureka"
- compile "com.alibaba:fastjson:1.2.24"
- compile("org.springframework.boot:spring-boot-devtools")
- testCompile 'org.springframework.boot:spring-boot-starter-test'
- }
|