-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
53 lines (44 loc) · 1.23 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
plugins {
id 'java'
id 'application'
id 'eclipse'
id 'org.jetbrains.kotlin.jvm' version '1.2.51'
id 'com.github.johnrengelman.shadow' version '2.0.1'
}
version = '0.0.0-SNAPSHOT'
sourceCompatibility = '1.8'
tasks.withType(JavaCompile) {
options.incremental = true
}
repositories {
mavenCentral()
jcenter()
flatDir { dirs 'lib' }
}
ext {
slf4jVersion = '1.7.25'
vertxVersion = '3.5.3'
}
dependencies {
compile "org.slf4j:slf4j-api:$slf4jVersion"
compile 'ch.qos.logback:logback-classic:1.2.3'
compile "io.vertx:vertx-unit:$vertxVersion"
compile "io.vertx:vertx-core:$vertxVersion"
compile "io.vertx:vertx-web:$vertxVersion"
compile "io.vertx:vertx-mongo-client:$vertxVersion"
runtime "org.slf4j:jcl-over-slf4j:$slf4jVersion"
runtime "org.slf4j:log4j-over-slf4j:$slf4jVersion"
}
mainClassName = 'io.vertx.core.Launcher'
shadowJar {
classifier = 'fat'
manifest {
attributes 'Main-Verticle': 'com.hectorlopezfernandez.dingleberries.MainVerticle'
}
mergeServiceFiles {
include 'META-INF/services/io.vertx.core.spi.VerticleFactory'
}
}
run {
args = ['run', 'com.hectorlopezfernandez.dingleberries.MainVerticle']
}