-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
41 lines (34 loc) · 1.26 KB
/
build.gradle.kts
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
import com.sailthru.gradle.ProjectType
plugins {
id("java")
id("com.sailthru.gradle") version ("v0.9.0")
}
sailthru {
type = ProjectType.LAMBDA
javaVersion = JavaVersion.VERSION_21
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}
dependencies {
implementation(platform("software.amazon.awssdk:bom:2.25.60"))
implementation("software.amazon.awssdk:lambda")
implementation("software.amazon.awssdk:sqs")
implementation("software.amazon.cloudwatchlogs:aws-embedded-metrics:4.2.0")
// oddly enough awssdk does NOT have the classes for structured Lambda support
implementation("com.amazonaws:aws-lambda-java-core:1.2.1")
implementation("com.amazonaws:aws-lambda-java-events:3.11.0")
implementation("org.slf4j:slf4j-simple:2.0.6")
implementation("com.fasterxml.jackson.core:jackson-databind:2.17.1")
implementation("com.mparticle:server-events-sdk:2.5.4")
testImplementation(platform("org.junit:junit-bom:5.9.1"))
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation("org.hamcrest:hamcrest:2.2")
testImplementation("org.mockito:mockito-core:5.12.0")
testImplementation("org.mockito:mockito-junit-jupiter:5.12.0")
}
tasks.test {
useJUnitPlatform()
}