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
/
Copy pathbuild.gradle
69 lines (53 loc) · 1.51 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
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
id 'jacoco'
}
group 'com.kcibald'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
def vertxVersion = "4.0.0-milestone4"
def junitVersion = "5.5.2"
dependencies {
implementation 'com.github.FirePillow:KCIbald-shared-obj:b1c37c04af'
// logging
compile 'ch.qos.logback:logback-classic:1.3.0-alpha5'
// config
compile 'com.uchuhimo:konf:0.22.0'
compile 'com.github.cretz.pbandk:pbandk-runtime-jvm:0.3.0'
// core vertx dependency
implementation "io.vertx:vertx-core:$vertxVersion"
compile "io.vertx:vertx-mongo-client:$vertxVersion"
testImplementation "io.vertx:vertx-junit5:$vertxVersion"
compile "io.vertx:vertx-lang-kotlin:$vertxVersion"
compile "io.vertx:vertx-lang-kotlin-coroutines:$vertxVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.3'
// test framework
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
}
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: 'com/kcibald/services/core/proto/**')
})
}
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}