53 lines
1.1 KiB
Groovy
53 lines
1.1 KiB
Groovy
/*
|
|
* This file was generated by the Gradle 'init' task.
|
|
*/
|
|
|
|
plugins {
|
|
id 'java-library'
|
|
id 'maven-publish'
|
|
}
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
maven {
|
|
url = uri('https://repo.spring.io/snapshot')
|
|
}
|
|
|
|
maven {
|
|
url = uri('https://repo.spring.io/milestone')
|
|
}
|
|
|
|
maven {
|
|
url = uri('https://repo.maven.apache.org/maven2/')
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api 'org.springframework.cloud:spring-cloud-function-adapter-aws:4.0.3-SNAPSHOT'
|
|
api 'com.amazonaws:aws-lambda-java-events:3.9.0'
|
|
api 'org.springframework.boot:spring-boot-configuration-processor:3.0.5'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test:3.0.5'
|
|
compileOnly 'com.amazonaws:aws-lambda-java-core:1.1.0'
|
|
}
|
|
|
|
group = 'io.spring.sample'
|
|
version = '4.0.0.RELEASE'
|
|
description = 'function-sample-aws'
|
|
java.sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
publishing {
|
|
publications {
|
|
maven(MavenPublication) {
|
|
from(components.java)
|
|
}
|
|
}
|
|
}
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
tasks.withType(Javadoc) {
|
|
options.encoding = 'UTF-8'
|
|
}
|