From f48253ccc000b7831a8a05c8829bf69e7336da88 Mon Sep 17 00:00:00 2001 From: Subhobrata Dey Date: Fri, 31 May 2024 06:52:49 +0000 Subject: [PATCH] attempt to fix windows builds Signed-off-by: Subhobrata Dey --- spi/build.gradle | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/spi/build.gradle b/spi/build.gradle index 1da8d06e4..2cbecc0e6 100644 --- a/spi/build.gradle +++ b/spi/build.gradle @@ -9,6 +9,20 @@ apply plugin: 'org.jetbrains.kotlin.jvm' apply plugin: 'jacoco' apply plugin: 'com.github.johnrengelman.shadow' +jacoco { + toolVersion = '0.8.7' + reportsDirectory = file("$buildDir/JacocoReport") +} + +jacocoTestReport { + reports { + xml.required = false + csv.required = false + html.destination file("${buildDir}/jacoco/") + } +} +check.dependsOn jacocoTestReport + dependencies { compileOnly "org.opensearch:opensearch:${opensearch_version}" compileOnly "org.jetbrains.kotlin:kotlin-stdlib:${kotlin_version}"