-
Notifications
You must be signed in to change notification settings - Fork 241
Expand file tree
/
Copy pathbuild.gradle
More file actions
34 lines (28 loc) · 833 Bytes
/
build.gradle
File metadata and controls
34 lines (28 loc) · 833 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
plugins {
id 'java'
id "com.gradleup.shadow" version "8.3.3"
}
repositories {
mavenCentral()
}
sourceCompatibility = 11
targetCompatibility = 11
dependencies {
implementation 'com.amazonaws:aws-lambda-java-core:1.2.3'
implementation 'com.amazonaws:aws-lambda-java-events:3.11.5'
implementation("tools.profiler:async-profiler:3.0")
implementation("software.amazon.awssdk:s3:2.31.2") {
exclude group: 'software.amazon.awssdk', module: 'netty-nio-client'
}
}
jar {
manifest {
attributes 'Main-Class': 'com.amazonaws.services.lambda.extension.ExtensionMain'
attributes 'Premain-Class': 'com.amazonaws.services.lambda.extension.PreMain'
attributes 'Can-Redefine-Class': true
}
}
shadowJar {
archiveFileName = "profiler-extension.jar"
}
build.dependsOn jar