Browse Source

Update gradle example builds

pull/236/head
Phillip Webb 12 years ago
parent
commit
c09ca17ca2
  1. 13
      spring-boot-samples/spring-boot-sample-actuator/build.gradle
  2. 9
      spring-boot-samples/spring-boot-sample-simple/build.gradle

13
spring-boot-samples/spring-boot-sample-actuator/build.gradle

@ -1,6 +1,6 @@ @@ -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' @@ -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 { @@ -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
}

9
spring-boot-samples/spring-boot-sample-simple/build.gradle

@ -1,6 +1,6 @@ @@ -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' @@ -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) {

Loading…
Cancel
Save