From 0e76bcd431d0225fdea6725d8369868407d2f837 Mon Sep 17 00:00:00 2001 From: Abe Pazos Date: Mon, 27 Feb 2023 16:06:57 +0100 Subject: Fix launching custom Kt files from command line The `application` property was already used. Reusing it breaks things. Use `openrndr.application` instead. --- build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build.gradle.kts') diff --git a/build.gradle.kts b/build.gradle.kts index 62982b3..270b759 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -141,8 +141,8 @@ tasks.withType { project.setProperty("mainClassName", applicationMainClass) application { - if (hasProperty("application")) { - mainClass.set("${property("application")}Kt") + if (hasProperty("openrndr.application")) { + mainClass.set("${property("openrndr.application")}") } } -- cgit v1.3.1