diff options
| author | Abe Pazos <abe@hamoid.com> | 2023-02-27 16:06:57 +0100 |
|---|---|---|
| committer | Edwin Jakobs <edwin@rndr.studio> | 2023-02-28 09:40:19 +0100 |
| commit | 0e76bcd431d0225fdea6725d8369868407d2f837 (patch) | |
| tree | 7befd88d51446e6ff79937341722efdb416e21fc /build.gradle.kts | |
| parent | 01d45029e6df4390f45b20ca5ec54b438e90b7ae (diff) | |
| download | art-playground-openrndr-0e76bcd431d0225fdea6725d8369868407d2f837.tar.gz art-playground-openrndr-0e76bcd431d0225fdea6725d8369868407d2f837.zip | |
Fix launching custom Kt files from command line
The `application` property was already used.
Reusing it breaks things.
Use `openrndr.application` instead.
Diffstat (limited to 'build.gradle.kts')
| -rw-r--r-- | build.gradle.kts | 4 |
1 files changed, 2 insertions, 2 deletions
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<KotlinCompile> { project.setProperty("mainClassName", applicationMainClass) application { - if (hasProperty("application")) { - mainClass.set("${property("application")}Kt") + if (hasProperty("openrndr.application")) { + mainClass.set("${property("openrndr.application")}") } } |
