summaryrefslogtreecommitdiff
path: root/buildSrc/src/main/kotlin/jacoco-aggregation.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'buildSrc/src/main/kotlin/jacoco-aggregation.gradle.kts')
-rw-r--r--buildSrc/src/main/kotlin/jacoco-aggregation.gradle.kts17
1 files changed, 4 insertions, 13 deletions
diff --git a/buildSrc/src/main/kotlin/jacoco-aggregation.gradle.kts b/buildSrc/src/main/kotlin/jacoco-aggregation.gradle.kts
index 1ea5de4c..5afd3e0d 100644
--- a/buildSrc/src/main/kotlin/jacoco-aggregation.gradle.kts
+++ b/buildSrc/src/main/kotlin/jacoco-aggregation.gradle.kts
@@ -1,9 +1,5 @@
-import gradle.kotlin.dsl.accessors._a850a9ab866951e91ee43960bbc39582.jacoco
-
/*
- * MIT License
- *
- * Copyright (c) 2019 atlarge-research
+ * Copyright (c) 2021 AtLarge Research
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -34,20 +30,15 @@ repositories {
mavenCentral()
}
-jacoco {
- // Necessary for Kotlin 1.5.0. See https://github.com/jacoco/jacoco/issues/1155
- toolVersion = "0.8.7"
-}
-
tasks.register<JacocoReport>("codeCoverageReport") {
group = "Coverage reports"
description = "Generates an aggregate report based on all subprojects"
reports {
- xml.isEnabled = true
- xml.destination = file("${buildDir}/reports/jacoco/report.xml")
+ xml.required.set(true)
+ xml.outputLocation.set(file("${buildDir}/reports/jacoco/report.xml"))
- html.isEnabled = true
+ html.required.set(true)
}
subprojects {