From 091115f49a5e88d9a854bb8ac7fe13e7c2d5b8de Mon Sep 17 00:00:00 2001 From: Edwin Jakobs Date: Wed, 25 Jan 2023 20:36:24 +0100 Subject: Add OPENRNDR task aliases --- build.gradle.kts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'build.gradle.kts') diff --git a/build.gradle.kts b/build.gradle.kts index e7da148..365c45c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -280,3 +280,20 @@ class Openrndr { } } val openrndr = Openrndr() + +if (properties["openrndr.tasks"] == "true") { + task("create executable jar for $applicationMainClass") { + group = " \uD83E\uDD8C OPENRNDR" + dependsOn("jar") + } + + task("run $applicationMainClass") { + group = " \uD83E\uDD8C OPENRNDR" + dependsOn("run") + } + + task("create standalone executable for $applicationMainClass") { + group = " \uD83E\uDD8C OPENRNDR" + dependsOn("jpackageZip") + } +} \ No newline at end of file -- cgit v1.3.1