Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
fix gradle file
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddenton committed Nov 1, 2023
1 parent e1f40f2 commit 81799fa
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import com.google.devtools.ksp.gradle.KspTask
import groovy.namespace.QName
import groovy.util.Node
import jdk.internal.vm.vector.VectorSupport.test
import org.gradle.api.JavaVersion.VERSION_1_8
import org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import java.time.Duration
import javax.xml.namespace.QName
import kotlin.math.sign

plugins {
kotlin("jvm")
Expand Down Expand Up @@ -287,7 +284,7 @@ tasks.register<JacocoReport>("jacocoRootReport") {
html.required.set(true)
xml.required.set(true)
csv.required.set(false)
xml.outputLocation.set(file("${layout.buildDirectory}/reports/jacoco/test/jacocoRootReport.xml"))
xml.outputLocation.set(file("${buildDir}/reports/jacoco/test/jacocoRootReport.xml"))
}
}

Expand Down Expand Up @@ -385,7 +382,7 @@ fun hasCodeCoverage(project: Project) = project.name != "http4k-connect-bom" &&

coveralls {
sourceDirs = subprojects.map { it.sourceSets.getByName("main").allSource.srcDirs }.flatten().map { it.absolutePath }
jacocoReportPath = file("${layout.buildDirectory}/reports/jacoco/test/jacocoRootReport.xml")
jacocoReportPath = file("${buildDir}/reports/jacoco/test/jacocoRootReport.xml")
}

tasks.named<JacocoReport>("jacocoTestReport") {
Expand Down

0 comments on commit 81799fa

Please sign in to comment.