Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-kolb authored Feb 6, 2018
1 parent e376666 commit 0de6179
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ dependencies {
jacoco {
toolVersion = '0.8.0'
}

dependencyUpdates {
outputFormatter = "json"
}
Expand Down Expand Up @@ -232,12 +233,12 @@ dependencyUpdates.resolutionStrategy = {
}
withModule("org.jacoco.agent") { ComponentSelection selection ->
if (selection.candidate.version.equals("0.8.0")) {
selection.reject("As a native plugin we cannot control the actual version of jacoco. This depenency should be hidden.")
selection.reject("As a native plugin we cannot control the actual version of jacoco. This dependency should be hidden.")
}
}
withModule("org.jacoco.ant") { ComponentSelection selection ->
if (selection.candidate.version.equals("0.8.0")) {
selection.reject("As a native plugin we cannot control the actual version of jacoco. This depenency should be hidden.")
selection.reject("As a native plugin we cannot control the actual version of jacoco. This dependency should be hidden.")
}
}
}
Expand Down

0 comments on commit 0de6179

Please sign in to comment.