-
Notifications
You must be signed in to change notification settings - Fork 550
/
build.gradle
42 lines (34 loc) · 1.17 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
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.17.1',
)
implementation("org.glassfish.jersey.media:jersey-media-json-jackson:3.1.7") {
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.7") {
exclude group: 'javax.inject', module: "javax.inject"
}
testImplementation("com.amazonaws.serverless:aws-serverless-java-container-core:[2.0-SNAPSHOT,):tests")
testImplementation("org.apache.httpcomponents.client5:httpclient5:5.2.1")
testImplementation(platform("org.junit:junit-bom:5.10.2"))
testImplementation("org.junit.jupiter:junit-jupiter")
}
task buildZip(type: Zip) {
from compileJava
from processResources
into('lib') {
from configurations.compileClasspath
}
}
test {
useJUnitPlatform()
}
build.dependsOn buildZip