Skip to content

Commit

Permalink
Fix jacoco for kotlin 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
floschu committed Jun 1, 2021
1 parent 7a645f0 commit 13b3e3e
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,32 @@ plugins {
id("org.jlleitschuh.gradle.ktlint").version(Versions.org_jlleitschuh_gradle_ktlint_gradle_plugin)
}

// ---- api-validation --- //

apply(plugin = "binary-compatibility-validator")

configure<kotlinx.validation.ApiValidationExtension> {
ignoredProjects.addAll(listOf("kotlin-counter", "android-counter", "android-github"))
}

jacoco {
toolVersion = "0.8.7"
// ---- api-validation --- //

// ---- jacoco --- //

subprojects {
configurations.all {
resolutionStrategy {
eachDependency {
if (requested.group == "org.jacoco") {
useVersion("0.8.7")
}
}
}
}
}

// ---- jacoco --- //

allprojects {
repositories {
google()
Expand Down

0 comments on commit 13b3e3e

Please sign in to comment.