forked from jaegertracing/vertx-create-span
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
48 lines (38 loc) · 968 Bytes
/
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
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '2.0.1'
}
ext {
vertxVersion = '3.5.0'
jaegerClientVersion = '0.30.6'
}
repositories {
mavenLocal()
mavenCentral()
jcenter()
}
version = '1.0.0-SNAPSHOT'
sourceCompatibility = '1.8'
dependencies {
compile "io.vertx:vertx-unit:$vertxVersion"
compile "io.vertx:vertx-core:$vertxVersion"
compile "io.vertx:vertx-web:$vertxVersion"
compile("org.slf4j:slf4j-api:1.7.25")
compile("org.slf4j:slf4j-log4j12:1.7.25")
compile "io.jaegertracing:jaeger-core:$jaegerClientVersion"
compile "io.jaegertracing:jaeger-thrift:$jaegerClientVersion"
}
mainClassName = 'com.example.demo.MainVerticle'
shadowJar {
classifier = 'fat'
mergeServiceFiles {
include 'META-INF/services/io.vertx.core.spi.VerticleFactory'
}
}
run {
args = ['run', mainClassName, "--launcher-class=io.vertx.core.Launcher"]
}
task wrapper(type: Wrapper) {
gradleVersion = '4.0'
}