Fix Gradle build
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
buildscript {
|
||||
ext {
|
||||
springBootVersion = '2.0.3.RELEASE'
|
||||
wrapperVersion = '1.0.13.BUILD-SNAPSHOT'
|
||||
springBootVersion = '2.2.0.BUILD-SNAPSHOT'
|
||||
wrapperVersion = '1.0.17.RELEASE'
|
||||
shadowVersion = '2.0.1'
|
||||
}
|
||||
repositories {
|
||||
@@ -15,6 +15,7 @@ buildscript {
|
||||
classpath "com.github.jengelman.gradle.plugins:shadow:${shadowVersion}"
|
||||
classpath("org.springframework.boot.experimental:spring-boot-thin-gradle-plugin:${wrapperVersion}")
|
||||
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
|
||||
classpath("io.spring.gradle:dependency-management-plugin:1.0.8.RELEASE")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +26,7 @@ apply plugin: 'com.github.johnrengelman.shadow'
|
||||
apply plugin: 'io.spring.dependency-management'
|
||||
apply plugin: 'org.springframework.boot'
|
||||
apply plugin: 'org.springframework.boot.experimental.thin-launcher'
|
||||
apply plugin: 'io.spring.dependency-management'
|
||||
|
||||
group = 'io.spring.sample'
|
||||
version = '2.0.0.RELEASE'
|
||||
@@ -39,8 +41,8 @@ repositories {
|
||||
}
|
||||
|
||||
ext {
|
||||
springCloudFunctionVersion = "2.0.0.BUILD-SNAPSHOT"
|
||||
awsLambdaEventsVersion = "1.2.1"
|
||||
springCloudFunctionVersion = "3.0.0.BUILD-SNAPSHOT"
|
||||
awsLambdaEventsVersion = "2.0.2"
|
||||
awsLambdaCoreVersion = "1.1.0"
|
||||
}
|
||||
ext['reactor.version'] = "3.1.7.RELEASE"
|
||||
@@ -76,9 +78,16 @@ configurations {
|
||||
testCompile.extendsFrom(compileOnly)
|
||||
}
|
||||
|
||||
dependencyManagement {
|
||||
imports {
|
||||
mavenBom "org.springframework.cloud:spring-cloud-function-dependencies:${springCloudFunctionVersion}"
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile("org.springframework.cloud:spring-cloud-starter-function-web:${springCloudFunctionVersion}")
|
||||
compile("org.springframework.cloud:spring-cloud-function-adapter-aws:${springCloudFunctionVersion}")
|
||||
compile("org.springframework.cloud:spring-cloud-function-adapter-aws")
|
||||
compile("org.springframework.cloud:spring-cloud-starter-function-webflux")
|
||||
compile("org.springframework.boot:spring-boot-configuration-processor")
|
||||
compileOnly("com.amazonaws:aws-lambda-java-events:${awsLambdaEventsVersion}")
|
||||
compileOnly("com.amazonaws:aws-lambda-java-core:${awsLambdaCoreVersion}")
|
||||
testCompile('org.springframework.boot:spring-boot-starter-test')
|
||||
|
||||
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.8.1-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5.1-bin.zip
|
||||
|
||||
Reference in New Issue
Block a user