Update gradle example builds

This commit is contained in:
Phillip Webb 2014-02-05 23:17:27 -08:00
parent d137bcd80d
commit c09ca17ca2
2 changed files with 12 additions and 10 deletions

View File

@ -1,6 +1,6 @@
buildscript {
ext {
springBootVersion = '0.5.0.BUILD-SNAPSHOT'
springBootVersion = '1.0.0.BUILD-SNAPSHOT'
}
repositories {
mavenLocal()
@ -18,10 +18,11 @@ apply plugin: 'spring-boot'
jar {
baseName = 'spring-boot-sample-actuator'
version = '0.5.0'
version = '1.0.0'
}
repositories {
mavenLocal()
mavenCentral()
maven { url "http://repo.springsource.org/libs-snapshot" }
}
@ -30,10 +31,10 @@ dependencies {
configurations {
insecure.exclude module: 'spring-boot-starter-security'
}
compile("org.springframework.boot:spring-boot-starter-web:${springBootVersion}")
compile("org.springframework.boot:spring-boot-starter-actuator:${springBootVersion}")
compile("org.springframework.boot:spring-boot-starter-security:${springBootVersion}")
testCompile("junit:junit:4.11")
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.boot:spring-boot-starter-actuator")
compile("org.springframework.boot:spring-boot-starter-security")
testCompile("junit:junit")
insecure configurations.runtime
}

View File

@ -1,6 +1,6 @@
buildscript {
ext {
springBootVersion = '0.5.0.BUILD-SNAPSHOT'
springBootVersion = '1.0.0.BUILD-SNAPSHOT'
}
repositories {
mavenLocal()
@ -19,17 +19,18 @@ apply plugin: 'spring-boot'
jar {
baseName = 'spring-boot-sample-simple'
version = '0.5.0'
version = '1.0.0'
}
repositories {
mavenLocal()
mavenCentral()
maven { url "http://repo.springsource.org/libs-snapshot" }
}
dependencies {
compile("org.springframework.boot:spring-boot-starter:${springBootVersion}")
testCompile("org.springframework.boot:spring-boot-starter-test:${springBootVersion}")
compile("org.springframework.boot:spring-boot-starter")
testCompile("org.springframework.boot:spring-boot-starter-test")
}
task wrapper(type: Wrapper) {