forked from Devcognitio/extreme_startup_lambda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
33 lines (27 loc) · 852 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
apply plugin: 'java'
repositories {
mavenCentral()
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {
compile (
'com.amazonaws:aws-lambda-java-core:1.1.0',
'com.amazonaws:aws-lambda-java-log4j:1.0.0',
'com.fasterxml.jackson.core:jackson-core:2.8.5',
'com.fasterxml.jackson.core:jackson-databind:2.8.5',
'com.fasterxml.jackson.core:jackson-annotations:2.8.5'
)
testCompile group: 'junit', name: 'junit', version: '4.13.1'
testImplementation("org.assertj:assertj-core:3.18.0")
}
// http://docs.aws.amazon.com/lambda/latest/dg/create-deployment-pkg-zip-java.html
task buildZip(type: Zip) {
baseName = "aws-java-simple-http-endpoint"
from compileJava
from processResources
into('lib') {
from configurations.runtime
}
}
build.dependsOn buildZip