-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
32 lines (28 loc) · 737 Bytes
/
build.gradle
File metadata and controls
32 lines (28 loc) · 737 Bytes
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
plugins {
id 'java-library'
}
repositories {
mavenCentral()
}
dependencies {
api (
'com.fasterxml.jackson.core:jackson-core:2.11.0',
'com.fasterxml.jackson.core:jackson-databind:2.11.0',
'com.fasterxml.jackson.core:jackson-annotations:2.11.0',
'com.amazonaws:aws-lambda-java-core:1.2.1',
'com.amazonaws:aws-lambda-java-log4j:1.0.1'
)
compileOnly(
'org.projectlombok:lombok:1.18.32'
)
}
// Task for building the zip file for upload
task buildZip(type: Zip) {
archiveBaseName = "serverless-java-lambda-no-coldstart"
from compileJava
from processResources
into('lib') {
from configurations.runtimeClasspath
}
}
build.dependsOn buildZip