aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts17
1 files changed, 17 insertions, 0 deletions
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