This repository has been archived by the owner on Mar 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 109
/
build.gradle
82 lines (71 loc) · 3.26 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
apply plugin: 'com.google.protobuf'
apply plugin: 'application'
apply plugin: 'com.github.johnrengelman.shadow'
mainClassName = 'com.spotify.heroic.HeroicService'
processResources {
expand version: version, commit: gitCommit
}
shadowJar {
classifier 'shaded'
zip64 true
// Log4j2 plugins get lost/overwritten when creating a shaded jar. This transformer merges
// them.
//noinspection LongLine
transform(com.github.jengelman.gradle.plugins.shadow.transformers.Log4j2PluginsCacheFileTransformer)
append 'META-INF/services/org.eclipse.jetty.http.HttpFieldPreEncoder'
// required for lucene
append 'META-INF/services/org.apache.lucene.codecs.Codec'
append 'META-INF/services/org.apache.lucene.codecs.DocValuesFormat'
append 'META-INF/services/org.apache.lucene.codecs.PostingsFormat'
append 'META-INF/services/org.apache.lucene.analysis.util.CharFilterFactory'
append 'META-INF/services/org.apache.lucene.analysis.util.TokenFilterFactory'
append 'META-INF/services/org.apache.lucene.analysis.util.TokenizerFactory'
// required for gRPC v1.35.0
append 'META-INF/services/io.grpc.LoadBalancerProvider'
}
dependencies {
api project(':heroic-core')
api project(':heroic-component')
api project(':heroic-metric-datastax')
api project(':heroic-metric-bigtable')
api project(':heroic-metric-memory')
api project(':heroic-metadata-elasticsearch')
api project(':heroic-metadata-memory')
api project(':heroic-suggest-elasticsearch')
api project(':heroic-suggest-memory')
api project(':heroic-discovery-simple')
api project(':heroic-aggregation-simple')
api project(':heroic-aggregation-cardinality')
api project(':heroic-consumer-kafka')
api project(':heroic-consumer-collectd')
api project(':heroic-consumer-pubsub')
api project(':heroic-rpc-grpc')
api project(':heroic-rpc-jvm')
api project(':heroic-statistics-semantic')
api project(':heroic-elasticsearch-utils')
api project(':heroic-usage-tracking-disabled')
api project(':heroic-usage-tracking-google-analytics')
implementation 'com.datastax.cassandra:cassandra-driver-core'
implementation 'org.apache.logging.log4j:log4j-core'
implementation 'org.apache.logging.log4j:log4j-1.2-api'
implementation 'org.apache.logging.log4j:log4j-slf4j-impl'
implementation 'io.sentry:sentry-log4j2'
implementation 'org.slf4j:jcl-over-slf4j'
implementation 'org.slf4j:jul-to-slf4j'
implementation 'args4j:args4j'
implementation 'com.google.guava:guava'
implementation 'eu.toolchain.async:tiny-async-core'
implementation 'eu.toolchain.serializer:tiny-serializer-core'
implementation 'jline:jline:2.12'
implementation 'com.google.protobuf:protobuf-java'
implementation 'org.apache.commons:commons-math3'
testImplementation project(':heroic-test')
testImplementation 'org.hamcrest:java-hamcrest'
testImplementation 'com.google.cloud:google-cloud-pubsub'
testImplementation 'io.grpc:grpc-netty'
testImplementation 'com.addthis:stream-lib'
testImplementation 'net.jcip:jcip-annotations:1.0'
testAnnotationProcessor 'net.jcip:jcip-annotations:1.0'
testImplementation 'org.testcontainers:testcontainers'
}
description = 'Heroic: Self-Contained Distribution Project'