This repository has been archived by the owner on May 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
80 lines (64 loc) · 2.16 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
id 'java'
id 'jacoco'
id "org.jetbrains.kotlin.kapt" version "1.3.61"
}
group 'com.kcibald'
version '1.0.0-alpha'
repositories {
mavenCentral()
jcenter()
}
def vertx_version = "4.0.0-milestone4"
def junit_version = "5.5.2"
dependencies {
// logging
compile 'ch.qos.logback:logback-classic:1.3.0-alpha5'
// kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
//vertx cores
implementation "io.vertx:vertx-core:$vertx_version"
compile "io.vertx:vertx-lang-kotlin:$vertx_version"
compile "io.vertx:vertx-lang-kotlin-coroutines:$vertx_version"
// vertx service proxy & code gen & serialization
compile "io.vertx:vertx-service-proxy:$vertx_version"
compile "io.vertx:vertx-codegen:$vertx_version"
kapt "io.vertx:vertx-service-proxy:$vertx_version:processor"
kapt "io.vertx:vertx-codegen:$vertx_version:processor"
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.10.1'
compile "com.fasterxml.jackson.module:jackson-module-kotlin:2.10.+"
implementation "org.jetbrains:annotations:15.0" // see: https://youtrack.jetbrains.com/issue/KT-35721
compile group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.64'
compile 'com.github.cretz.pbandk:pbandk-runtime-jvm:0.3.0'
compile group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-core', version: '1.2.2'
testCompile "io.vertx:vertx-junit5:$vertx_version"
testImplementation "org.junit.jupiter:junit-jupiter-api:$junit_version"
testImplementation "org.hamcrest:hamcrest-library:2.1"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junit_version"
}
test {
useJUnitPlatform()
}
jacoco {
toolVersion = "0.8.4"
}
jacocoTestReport {
reports {
xml.enabled true
html.enabled true
}
afterEvaluate {
classDirectories = files(classDirectories.files.collect {
fileTree(dir: it, exclude: [
'**/proto/**'
])
})
}
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}