-
Notifications
You must be signed in to change notification settings - Fork 94
/
build.gradle
50 lines (39 loc) · 1.31 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
group 'com.criteo.nosql'
version '2.3.8'
apply plugin: 'java'
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'application'
sourceCompatibility = 1.8
mainClassName = 'com.criteo.nosql.cassandra.exporter.Main'
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.13.2'
// General utility
compile group: 'com.google.guava', name: 'guava', version: '31.0.1-jre'
// Logging
compile group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.21'
// YAML parser
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version:'2.13.1'
compile group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-yaml', version: '2.13.1'
// Prometheus
compile group: 'io.prometheus', name: 'simpleclient', version: '0.14.1'
compile group: 'io.prometheus', name: 'simpleclient_common', version: '0.14.1'
compile group: 'io.prometheus', name: 'simpleclient_httpserver', version: '0.14.1'
}
// If you don't use the uber jar
jar {
manifest {
attributes 'Main-Class': mainClassName
}
}
// In order to get maven shade equivalent plugin (Uber Jar)
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.3'
}
}