diff --git a/cast/smoke_main/build.gradle.kts b/cast/smoke_main/build.gradle.kts index 31eb2bc2a7..7eea263c95 100644 --- a/cast/smoke_main/build.gradle.kts +++ b/cast/smoke_main/build.gradle.kts @@ -86,7 +86,12 @@ application { // main executable to run for test inputs.file(linkedFile) - doFirst { executable(linkedFile.get().asFile) } + executable( + object { + val toString by lazy { linkedFile.get().asFile.toString() } + + override fun toString() = toString + }) // xlator Java bytecode + implementation of native methods val pathElements = project.objects.listProperty()