-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
34 lines (24 loc) · 1.33 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
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'java'
sourceCompatibility = '11'
targetCompatibility = '11'
repositories {
mavenCentral()
}
dependencies {
// update May 2021
def jerseyVersion = '3.0.1'
implementation group: 'org.glassfish.jersey.core', name: 'jersey-server', version: jerseyVersion
implementation group: 'org.glassfish.jersey.core', name: 'jersey-client', version: jerseyVersion
implementation group: 'org.glassfish.jersey.containers', name: 'jersey-container-servlet', version: jerseyVersion
implementation group: 'org.glassfish.jersey.containers', name: 'jersey-container-jdk-http', version: jerseyVersion
implementation group: 'org.glassfish.jersey.media', name: 'jersey-media-moxy', version: jerseyVersion
// needed since version 2.26 and newer are not backward compatible
// https://stackoverflow.com/questions/44088493/jersey-stopped-working-with-injectionmanagerfactory-not-found
implementation group: 'org.glassfish.jersey.inject', name: 'jersey-hk2', version: jerseyVersion
implementation group: 'org.glassfish.jaxb', name: 'jaxb-runtime', version: jerseyVersion
// testCompile 'org.glassfish.jersey.test-framework.providers:jersey-test-framework-provider-inmemory:2.30.1'
// thread safety annotations
implementation 'net.jcip:jcip-annotations:1.0'
}