-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
38 lines (31 loc) · 879 Bytes
/
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
buildscript {
repositories {
google()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath("com.soywiz.korlibs:easy-kotlin-mpp-gradle-plugin:0.14.3")
}
}
plugins {
id 'jacoco'
id 'org.jlleitschuh.gradle.ktlint' version '9.4.1'
}
apply plugin: com.soywiz.korlibs.KorlibsPlugin
group 'it.krzeminski.vis-assert'
version '0.4.1-beta'
jacoco {
toolVersion = '0.8.3'
}
task jacocoTestReport(type: JacocoReport, dependsOn: jvmTest) {
reports {
xml.enabled true
html.enabled true
}
afterEvaluate {
getSourceDirectories().setFrom(files("$projectDir/src/commonMain/kotlin"))
getClassDirectories().setFrom(files("$buildDir/classes/kotlin/jvm/main"))
getExecutionData().setFrom(files("$buildDir/jacoco/jvmTest.exec"))
}
}
check.dependsOn jacocoTestReport