-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
47 lines (40 loc) · 1.19 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
plugins {
id 'java'
}
group 'com.logicmonitor.aws.lambdas'
repositories {
mavenCentral()
}
dependencies {
implementation 'com.amazonaws:aws-lambda-java-core:1.2.3'
implementation platform('software.amazon.awssdk:bom:2.25.60')
implementation 'software.amazon.awssdk:iam'
implementation 'org.slf4j:slf4j-api:2.0.6'
implementation 'com.google.code.gson:gson:2.10'
constraints {
implementation ('io.netty:netty-codec-http:4.1.110.Final') {
because 'lower version pulled had vulnerability affecting this application'
}
implementation ('io.netty:netty-codec-http2:4.1.110.Final') {
because 'lower version pulled had vulnerability affecting this application'
}
implementation ('io.netty:netty-handler:4.1.110.Final') {
because 'lower version pulled had vulnerability affecting this application'
}
}
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
test {
useJUnitPlatform()
}
task buildZip(type: Zip) {
from compileJava
from processResources
into('lib') {
from jar
from configurations.runtimeClasspath
}
}