Print Test Reports URL even aftrer all tests pass

Gradle CLI gives url to the reports file only when tests fail, not otherwise i.e when allt tests pass/green

tasks.withType<Test>().configureEach {
    doLast {
	println("\n\nTest Report: file:///" + reports.html.entryPoint.absolutePath.replace(File.separatorChar, '/'))
    }
}

Add the above snippet to build.gradle.kts file to view the URL of reports, even on success, and it is recognized as a hyperlink, even in the terminal, allowing it to be accessed only with a mouse.