Add gradle builds to all samples

They all work except the AWS one, where the shadow plugin seems to
prang the thin launcher one. Removing the thin plugin gets us
something that works.

Fixes gh-105
This commit is contained in:
Dave Syer
2017-09-04 14:19:39 +01:00
parent 6acacde0b3
commit b7aa1d0293
26 changed files with 1560 additions and 3 deletions

View File

@@ -35,13 +35,14 @@ repositories {
ext {
springCloudFunctionVersion = "1.0.0.BUILD-SNAPSHOT"
springCloudStreamServletVersion = "1.0.0.BUILD-SNAPSHOT"
}
ext['reactor.version'] = "3.0.7.RELEASE"
// TODO: remove this when pom.xml generator is fixed
jar.dependsOn = [thinProperties]
dependencies {
compile("org.springframework.cloud:spring-cloud-function-stream:${springCloudFunctionVersion}")
compile("org.springframework.cloud:spring-cloud-function-web:${springCloudFunctionVersion}")
compile("org.springframework.cloud:spring-cloud-function-compiler:${springCloudFunctionVersion}")
compile("org.springframework.cloud:spring-cloud-stream-binder-servlet:${springCloudStreamServletVersion}")
testCompile('org.springframework.boot:spring-boot-starter-test')
}