Files
spring-cloud-function/spring-cloud-function-samples/function-sample-pof/build.gradle
2018-01-18 13:11:02 +00:00

54 lines
1.5 KiB
Groovy

buildscript {
ext {
springBootVersion = '1.5.10.BUILD-SNAPSHOT'
wrapperVersion = '1.0.9.BUILD-SNAPSHOT'
}
repositories {
mavenLocal()
mavenCentral()
maven { url "https://repo.spring.io/plugins-snapshot" }
maven { url "https://repo.spring.io/plugins-milestone" }
}
dependencies {
classpath("org.springframework.boot.experimental:spring-boot-thin-gradle-plugin:${wrapperVersion}")
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
// Remove this when Boot 1.5.10 is out.
classpath "io.spring.gradle:dependency-management-plugin:1.0.4.BUILD-SNAPSHOT"
}
}
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'eclipse'
apply plugin: 'spring-boot'
apply plugin: 'org.springframework.boot.experimental.thin-launcher'
group = 'io.spring.sample'
version = '1.0.0.BUILD-SNAPSHOT'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenLocal()
mavenCentral()
maven { url "https://repo.spring.io/snapshot" }
maven { url "https://repo.spring.io/milestone" }
}
ext {
springCloudFunctionVersion = "1.0.0.BUILD-SNAPSHOT"
}
ext['reactor.version'] = "3.1.2.RELEASE"
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-function-dependencies:${springCloudFunctionVersion}"
}
}
dependencies {
compile('org.springframework.cloud:spring-cloud-function-web')
compile('org.springframework.cloud:spring-cloud-function-compiler')
testCompile('org.springframework.boot:spring-boot-starter-test')
}