forked from hyleung/ratpack-zipkin-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
47 lines (42 loc) · 1.2 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'io.ratpack:ratpack-gradle:1.4.1',
'com.github.jengelman.gradle.plugins:shadow:1.2.1'
}
}
apply plugin: 'application'
apply plugin: "io.ratpack.ratpack-java"
mainClassName = "com.example.server.App"
run {
/* Pass all the properties: */
systemProperties System.getProperties()
}
repositories {
mavenCentral()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots/"
}
}
dependencies {
compile 'com.github.hyleung:ratpack-zipkin:2.0.0'
compile 'io.ratpack:ratpack-guice:1.4.1'
compile 'org.slf4j:slf4j-api:1.7.13'
compile 'io.zipkin.brave:brave-spancollector-scribe:4.3.3'
compile 'io.zipkin.brave:brave-spancollector-kafka:4.3.3'
compile 'io.zipkin.reporter:zipkin-sender-libthrift:0.10.0'
compile 'io.zipkin.reporter:zipkin-sender-kafka08:0.10.0'
runtime 'ch.qos.logback:logback-core:1.1.7'
runtime 'ch.qos.logback:logback-classic:1.1.7'
}
jar {
archiveName = "zipkin-demo.jar"
from configurations.runtime.collect {
zipTree(it)
}
manifest {
attributes 'Main-Class':'com.example.server.App'
}
}