mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-01-03 20:39:40 +01:00
4952e1d240
This module will be responsible for temporary and permanent caching of any data. Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
41 lines
696 B
Groovy
41 lines
696 B
Groovy
apply plugin: 'java-library'
|
|
apply plugin: 'kotlin'
|
|
apply plugin: 'jacoco'
|
|
apply from: '../gradle_scripts/code_quality.gradle'
|
|
|
|
sourceSets {
|
|
main.java.srcDirs += "${projectDir}/src/main/kotlin"
|
|
}
|
|
dependencies {
|
|
api other.kotlinStdlib
|
|
}
|
|
|
|
jacoco {
|
|
toolVersion(versions.jacoco)
|
|
}
|
|
|
|
ext {
|
|
jacocoExclude = []
|
|
}
|
|
|
|
jacocoTestReport {
|
|
reports {
|
|
html.enabled true
|
|
csv.enabled false
|
|
xml.enabled true
|
|
}
|
|
|
|
afterEvaluate {
|
|
classDirectories = files(classDirectories.files.collect {
|
|
fileTree(dir: it, excludes: jacocoExclude)
|
|
})
|
|
}
|
|
}
|
|
|
|
test.finalizedBy jacocoTestReport
|
|
test {
|
|
jacoco {
|
|
excludes += jacocoExclude
|
|
}
|
|
}
|