From 81529722272e4e29b164d771b1ba839f30dba721 Mon Sep 17 00:00:00 2001 From: xtrm-en <26600206+xtrm-en@users.noreply.github.com> Date: Wed, 10 Aug 2022 15:34:51 +0200 Subject: [PATCH] wrapper: check for latest output file, fixes #7 --- .../stardustenterprises/gradle/rust/wrapper/task/BuildTask.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/fr/stardustenterprises/gradle/rust/wrapper/task/BuildTask.kt b/src/main/kotlin/fr/stardustenterprises/gradle/rust/wrapper/task/BuildTask.kt index e9d14c2..6347844 100644 --- a/src/main/kotlin/fr/stardustenterprises/gradle/rust/wrapper/task/BuildTask.kt +++ b/src/main/kotlin/fr/stardustenterprises/gradle/rust/wrapper/task/BuildTask.kt @@ -178,7 +178,7 @@ open class BuildTask : ConfigurableTask() { println(message) } - if (output == null && reason.equals("compiler-artifact")) { + if (reason.equals("compiler-artifact")) { var manifestPath = Path(jsonObject.get("manifest_path").asString) if (manifestPath.startsWith("/project")) {