-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
46 lines (41 loc) · 1.09 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
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 {
mavenLocal()
mavenCentral()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots/"
}
}
dependencies {
compile 'com.github.hyleung:ratpack-zipkin:2.3.1'
compile 'io.ratpack:ratpack-guice:1.4.1'
compile 'org.slf4j:slf4j-api:1.7.13'
compile 'io.zipkin.reporter2:zipkin-sender-kafka11:2.3.3'
compile 'io.zipkin.reporter2:zipkin-sender-okhttp3:2.3.3'
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'
}
}