-
Notifications
You must be signed in to change notification settings - Fork 572
Expand file tree
/
Copy pathbuild.gradle
More file actions
33 lines (27 loc) · 872 Bytes
/
build.gradle
File metadata and controls
33 lines (27 loc) · 872 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
apply plugin: 'java'
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
implementation (
'com.amazonaws.serverless:aws-serverless-java-container-jersey:[2.0-SNAPSHOT,)',
'com.fasterxml.jackson.core:jackson-databind:2.18.3',
)
implementation("org.glassfish.jersey.media:jersey-media-json-jackson:3.1.10") {
exclude group: 'com.fasterxml.jackson.core', module: "jackson-annotations"
exclude group: 'com.fasterxml.jackson.core', module: "jackson-databind"
exclude group: 'com.fasterxml.jackson.core', module: "jackson-core"
}
implementation("org.glassfish.jersey.inject:jersey-hk2:3.1.10") {
exclude group: 'javax.inject', module: "javax.inject"
}
}
task buildZip(type: Zip) {
from compileJava
from processResources
into('lib') {
from configurations.compileClasspath
}
}
build.dependsOn buildZip