-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
84 lines (65 loc) · 2.89 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
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
description = 'Shared code between FredBoat modules'
version '1.0'
ext {
moduleName = 'Shared'
}
apply plugin: 'maven-publish'
publishing {
publications {
mavenJava(MavenPublication) {
groupId rootProject.group
artifactId moduleName
from components.java
artifact sourceJar {
classifier "sources"
}
}
}
}
task install(dependsOn: 'publishToMavenLocal')
publishToMavenLocal.dependsOn 'jar'
task sourceJar(type: Jar) {
from sourceSets.main.allJava
}
ext {
//@formatter:off
//utility deps
jsonOrgVersion = '20180130'
commonsTextVersion = '1.3'
commonsIOVersion = '2.6'
commonsCodecVersion = '1.11'
commonsCollectionsVersion = '4.1'
snakeYamlVersion = '1.19' //do not upgrade to 1.20, app wont start up
guavaVersion = '24.1-jre'
gsonVersion = '2.8.2'
//logging / monitoring deps
logbackVersion = '1.2.3'
sentryVersion = '1.7.2'
prometheusClientVersion = '0.3.0'
//http / web deps
okhttpVersion = '3.10.0'
//QA deps
spotbugsVersion = '3.1.2'
napsterAnnotations = '0.0.1'
//@formatter:on
}
dependencies {
compile group: 'org.json', name: 'json', version: jsonOrgVersion
compile group: 'com.github.spotbugs', name: 'spotbugs-annotations', version: spotbugsVersion
compile group: 'space.npstr', name: 'annotations', version: napsterAnnotations
compile group: 'ch.qos.logback', name: 'logback-classic', version: logbackVersion
compile group: 'io.sentry', name: 'sentry-logback', version: sentryVersion
compile group: 'org.apache.commons', name: 'commons-text', version: commonsTextVersion
compile group: 'commons-io', name: 'commons-io', version: commonsIOVersion
compile group: 'commons-codec', name: 'commons-codec', version: commonsCodecVersion
compile group: 'org.apache.commons', name: 'commons-collections4', version: commonsCollectionsVersion
compile group: 'org.yaml', name: 'snakeyaml', version: snakeYamlVersion
compile group: 'com.squareup.okhttp3', name: 'okhttp', version: okhttpVersion
compile group: 'com.google.guava', name: 'guava', version: guavaVersion
compile group: 'io.prometheus', name: 'simpleclient', version: prometheusClientVersion
compile group: 'io.prometheus', name: 'simpleclient_hotspot', version: prometheusClientVersion
compile group: 'io.prometheus', name: 'simpleclient_logback', version: prometheusClientVersion
compile group: 'io.prometheus', name: 'simpleclient_hibernate', version: prometheusClientVersion
compile group: 'io.prometheus', name: 'simpleclient_guava', version: prometheusClientVersion
compile group: 'io.prometheus', name: 'simpleclient_servlet', version: prometheusClientVersion
}