Commit c09ca17c authored by Phillip Webb's avatar Phillip Webb

Update gradle example builds

parent d137bcd8
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
}
......
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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment