Update gradle example builds
This commit is contained in:
parent
d137bcd80d
commit
c09ca17ca2
|
|
@ -1,6 +1,6 @@
|
||||||
buildscript {
|
buildscript {
|
||||||
ext {
|
ext {
|
||||||
springBootVersion = '0.5.0.BUILD-SNAPSHOT'
|
springBootVersion = '1.0.0.BUILD-SNAPSHOT'
|
||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
mavenLocal()
|
mavenLocal()
|
||||||
|
|
@ -18,10 +18,11 @@ apply plugin: 'spring-boot'
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
baseName = 'spring-boot-sample-actuator'
|
baseName = 'spring-boot-sample-actuator'
|
||||||
version = '0.5.0'
|
version = '1.0.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
mavenLocal()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven { url "http://repo.springsource.org/libs-snapshot" }
|
maven { url "http://repo.springsource.org/libs-snapshot" }
|
||||||
}
|
}
|
||||||
|
|
@ -30,10 +31,10 @@ dependencies {
|
||||||
configurations {
|
configurations {
|
||||||
insecure.exclude module: 'spring-boot-starter-security'
|
insecure.exclude module: 'spring-boot-starter-security'
|
||||||
}
|
}
|
||||||
compile("org.springframework.boot:spring-boot-starter-web:${springBootVersion}")
|
compile("org.springframework.boot:spring-boot-starter-web")
|
||||||
compile("org.springframework.boot:spring-boot-starter-actuator:${springBootVersion}")
|
compile("org.springframework.boot:spring-boot-starter-actuator")
|
||||||
compile("org.springframework.boot:spring-boot-starter-security:${springBootVersion}")
|
compile("org.springframework.boot:spring-boot-starter-security")
|
||||||
testCompile("junit:junit:4.11")
|
testCompile("junit:junit")
|
||||||
insecure configurations.runtime
|
insecure configurations.runtime
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
buildscript {
|
buildscript {
|
||||||
ext {
|
ext {
|
||||||
springBootVersion = '0.5.0.BUILD-SNAPSHOT'
|
springBootVersion = '1.0.0.BUILD-SNAPSHOT'
|
||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
mavenLocal()
|
mavenLocal()
|
||||||
|
|
@ -19,17 +19,18 @@ apply plugin: 'spring-boot'
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
baseName = 'spring-boot-sample-simple'
|
baseName = 'spring-boot-sample-simple'
|
||||||
version = '0.5.0'
|
version = '1.0.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
mavenLocal()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven { url "http://repo.springsource.org/libs-snapshot" }
|
maven { url "http://repo.springsource.org/libs-snapshot" }
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile("org.springframework.boot:spring-boot-starter:${springBootVersion}")
|
compile("org.springframework.boot:spring-boot-starter")
|
||||||
testCompile("org.springframework.boot:spring-boot-starter-test:${springBootVersion}")
|
testCompile("org.springframework.boot:spring-boot-starter-test")
|
||||||
}
|
}
|
||||||
|
|
||||||
task wrapper(type: Wrapper) {
|
task wrapper(type: Wrapper) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue