-
Notifications
You must be signed in to change notification settings - Fork 1
/
libraries.gradle
144 lines (116 loc) · 5.35 KB
/
libraries.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
subprojects {
repositories {
mavenCentral()
}
configurations.all {
resolutionStrategy {
// AGPL-compatible alternatives (mostly Apache v2)
def replacements = [
"javax.annotation:jsr250-api": "org.apache.geronimo.specs:geronimo-annotation_1.2_spec:1.0",
"org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec": "org.apache.geronimo.specs:geronimo-annotation_1.2_spec:1.0",
"org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_2.1_spec": "org.apache.geronimo.specs:geronimo-jaxrs_2.1_spec:1.1",
"org.jboss.spec.javax.xml.bind:jboss-jaxb-api_2.3_spec": "org.apache.geronimo.specs:geronimo-jaxb_2.2_spec:1.0.1",
"javax.activation:activation": "org.apache.geronimo.specs:geronimo-activation_1.1_spec:1.1",
"javax.json.bind:javax.json.bind-api": "org.apache.geronimo.specs:geronimo-jsonb_1.0_spec:1.1",
// Use an Apache-licensed clean-room reimplementation of JCIP Annotations.
// The original JCIP Annotations are under Creative Commons Attribution License
// which is not recommended for software, and incompatible with AGPL.
// https://wiki.creativecommons.org/Frequently_Asked_Questions#Can_I_apply_a_Creative_Commons_license_to_software.3F
"net.jcip:jcip-annotations": "com.github.stephenc.jcip:jcip-annotations:1.0-1",
]
eachDependency { DependencyResolveDetails details ->
def key = details.requested.group + ":" + details.requested.name
def replacement = replacements[key]
if (replacement) {
details.useTarget(replacement)
}
}
}
}
}
def guiceVersion = "4.2.1"
def jacksonVersion = "2.9.7"
def log4jVersion = "2.11.1"
def resteasyVersion = "3.6.1.Final"
ext.libs = [
guava: "com.google.guava:guava:26.0-jre",
jsr305: "com.google.code.findbugs:jsr305:3.0.2",
immutables: "org.immutables:value:2.7.1",
immutables_annotations: "org.immutables:value-annotations:2.7.1",
forbiddenapis: "de.thetaphi:forbiddenapis:2.6",
bouncycastle: "org.bouncycastle:bcprov-jdk15on:1.60",
jose4j: "org.bitbucket.b_c:jose4j:0.6.4",
guice: [
"com.google.inject:guice:$guiceVersion",
"com.google.inject.extensions:guice-multibindings:$guiceVersion",
],
jongo: [
"org.jongo:jongo:1.4.0",
"de.undercouch:bson4jackson:2.9.2",
"org.mongodb:mongo-java-driver:3.8.2",
],
elasticsearch: [
"org.elasticsearch:elasticsearch:1.4.4",
"io.searchbox:jest:1.0.3"
],
resteasy_netty: [
"org.jboss.resteasy:resteasy-netty4:$resteasyVersion",
"io.netty:netty-all:4.1.29.Final",
],
resteasy_client: [
"org.jboss.resteasy:resteasy-client:$resteasyVersion",
"net.ltgt.jaxrs:resteasy-client-okhttp3:1.1",
"com.squareup.okhttp3:okhttp:3.11.0",
"com.squareup.okhttp3:logging-interceptor:3.11.0"
],
resteasy_testing: "net.ltgt.jaxrs:resteasy-testing:0.2",
jaxrs_webhook: "net.ltgt.jaxrs:jaxrs-webhook:0.1",
closure_templates_standalone: dependencies.create("com.google.template:soy:2018-03-14") {
exclude group: "com.google.gwt"
exclude group: "com.google.code.gson"
exclude group: "org.json"
},
closure_templates: [
dependencies.create("com.google.template:soy:2018-03-14") {
exclude group: "com.google.gwt"
exclude group: "com.google.code.gson"
exclude group: "org.json"
},
"com.google.inject.extensions:guice-assistedinject:$guiceVersion",
"com.google.inject.extensions:guice-multibindings:$guiceVersion",
],
jackson_annotations: "com.fasterxml.jackson.core:jackson-annotations:$jacksonVersion",
jackson_databind: "com.fasterxml.jackson.core:jackson-databind:$jacksonVersion",
jackson: [
"com.fasterxml.jackson.core:jackson-core:$jacksonVersion",
"com.fasterxml.jackson.core:jackson-databind:$jacksonVersion",
"com.fasterxml.jackson.datatype:jackson-datatype-guava:$jacksonVersion",
"com.fasterxml.jackson.datatype:jackson-datatype-jdk8:$jacksonVersion",
"com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jacksonVersion",
"com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:$jacksonVersion",
"com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:$jacksonVersion",
"com.fasterxml.jackson.module:jackson-module-jaxb-annotations:$jacksonVersion",
],
jsSHA: "org.webjars.bower:jsSHA:2.3.1",
icu4j: "com.ibm.icu:icu4j:62.1",
galimatias: "io.mola.galimatias:galimatias:0.2.1",
mail: "org.apache.geronimo.javamail:geronimo-javamail_1.4_mail:1.8.4",
slf4j: "org.slf4j:slf4j-api:1.7.25",
log4j2: "org.apache.logging.log4j:log4j-api:$log4jVersion",
log4j_runtime: [
"org.apache.logging.log4j:log4j-slf4j-impl:$log4jVersion",
"com.lmax:disruptor:3.4.2",
],
args4j: "args4j:args4j:2.33",
config: "com.typesafe:config:1.3.3",
junit: "junit:junit:4.12",
mockito: "org.mockito:mockito-core:2.22.0",
jukito: [
"org.jukito:jukito:1.5",
"com.google.inject.extensions:guice-assistedinject:$guiceVersion",
],
assertj: [
"org.assertj:assertj-core:3.11.1",
"org.assertj:assertj-guava:3.2.0",
],
]