-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
45 lines (39 loc) · 942 Bytes
/
build.gradle
File metadata and controls
45 lines (39 loc) · 942 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
33
34
35
36
37
38
39
40
41
42
43
44
45
plugins {
id 'java'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
sourceSets {
main {
java {
srcDirs = ['src']
}
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'com.amazonaws:aws-lambda-java-core:1.2.2'
implementation 'com.amazonaws:aws-lambda-java-events:3.11.1'
implementation 'org.postgresql:postgresql:42.7.1'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.0'
implementation 'redis.clients:jedis:5.1.0'
implementation 'com.amazonaws:aws-java-sdk-sqs:1.12.772'
}
jar {
manifest {
attributes 'Main-Class': 'com.example.lambda.AuctionSqsLambda'
}
from {
configurations.runtimeClasspath.collect {
it.isDirectory() ? it : zipTree(it)
}
}
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}