-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
54 lines (45 loc) · 1.04 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
54
apply plugin: 'kotlin'
apply plugin: 'eu.appsatori.fatjar'
buildscript {
ext.kotlin_version = '1.1.2'
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'eu.appsatori:gradle-fatjar-plugin:0.3'
}
}
repositories {
mavenCentral()
maven {
url "http://dl.bintray.com/kotlin/kotlin-eap-1.1"
}
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:0.14'
compile 'io.vertx:vertx-core:3.4.0'
}
task wrapper(type: Wrapper) {
gradleVersion = '3.5'
}
fatJar {
classifier 'fat'
manifest {
attributes 'Main-Class': 'io.vertx.core.Launcher',
'Main-Verticle': 'MainVerticle'
}
exclude 'META-INF/*.DSA', 'META-INF/*.RSA', 'META-INF/*.SF'
}
kotlin {
experimental {
coroutines "enable"
}
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}