Add spring-cloud-function-dependencies and use it throughout

This commit is contained in:
Dave Syer
2017-09-15 08:43:34 +01:00
parent 55655d69ac
commit 61a902ce9a
21 changed files with 275 additions and 126 deletions

View File

@@ -1,7 +1,7 @@
buildscript {
ext {
springBootVersion = '1.5.2.RELEASE'
wrapperVersion = '1.0.6.RELEASE'
wrapperVersion = '1.0.7.RELEASE'
}
repositories {
mavenLocal()
@@ -41,8 +41,14 @@ ext['reactor.version'] = "3.0.7.RELEASE"
// TODO: remove this when pom.xml generator is fixed
jar.dependsOn = [thinProperties]
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-function-dependencies:${springCloudFunctionVersion}"
}
}
dependencies {
compile("org.springframework.cloud:spring-cloud-function-web:${springCloudFunctionVersion}")
compile("org.springframework.cloud:spring-cloud-function-compiler:${springCloudFunctionVersion}")
compile('org.springframework.cloud:spring-cloud-function-web')
compile('org.springframework.cloud:spring-cloud-function-compiler')
testCompile('org.springframework.boot:spring-boot-starter-test')
}