File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import junitbuild.javadoc.ModuleSpecificJavadocFileOption
66import org.asciidoctor.gradle.base.AsciidoctorAttributeProvider
77import org.asciidoctor.gradle.jvm.AbstractAsciidoctorTask
88import org.gradle.api.tasks.PathSensitivity.RELATIVE
9- import java.nio.file.Files
9+ import org.jetbrains.kotlin.incremental.deleteRecursivelyOrThrow
1010
1111plugins {
1212 alias(libs.plugins.asciidoctorConvert)
@@ -165,9 +165,7 @@ tasks {
165165 args.addAll(" --exclude-tag" , " timeout" )
166166
167167 doFirst {
168- consoleLauncherTestEventXmlFiles.files.forEach {
169- Files .delete(it.toPath())
170- }
168+ consoleLauncherTestReportsDir.get().asFile.deleteRecursivelyOrThrow()
171169 }
172170
173171 finalizedBy(generateOpenTestHtmlReport)
You can’t perform that action at this time.
0 commit comments