-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
49 lines (39 loc) · 1.14 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
buildscript {
ext {
kotlin_plugin_version = '1.3.41'
kotlin_std_lib_version = '1.3.41'
vertx_version = '3.7.1'
libraries = [
kotlin_jdk8 : "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_std_lib_version",
kotlin_coroutines: "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.0-M2",
vertx : [
"io.vertx:vertx-core:$vertx_version",
"io.vertx:vertx-web:$vertx_version",
"io.vertx:vertx-lang-kotlin:$vertx_version",
"io.vertx:vertx-lang-kotlin-coroutines:$vertx_version",
]
]
}
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_plugin_version"
}
}
subprojects {
apply plugin: 'kotlin'
repositories {
mavenCentral()
jcenter()
}
gradle.projectsEvaluated {
compileKotlin {
kotlinOptions {
jvmTarget = '1.8'
allWarningsAsErrors = true
}
}
}
}