-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
45 lines (35 loc) · 966 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
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
ext {
vertxVersion = '4.4.5'
jaegerClientVersion = '0.35.5'
}
repositories {
mavenLocal()
mavenCentral()
jcenter()
}
version = '1.0.0-SNAPSHOT'
sourceCompatibility = '1.8'
dependencies {
implementation "io.vertx:vertx-unit:$vertxVersion"
implementation "io.vertx:vertx-core:$vertxVersion"
implementation "io.vertx:vertx-web:$vertxVersion"
implementation("org.slf4j:slf4j-api:2.0.9")
implementation("org.slf4j:slf4j-log4j12:2.0.9")
implementation "io.jaegertracing:jaeger-core:$jaegerClientVersion"
implementation "io.jaegertracing:jaeger-thrift:$jaegerClientVersion"
}
mainClassName = 'com.example.demo.MainVerticle'
shadowJar {
archiveClassifier = 'fat'
mergeServiceFiles {
include 'META-INF/services/io.vertx.core.spi.VerticleFactory'
}
}
run {
args = ['run', mainClassName, "--launcher-class=io.vertx.core.Launcher"]
}