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 | 4da202819126a8b4d93b553029d0128279c26942 (patch) | |
| tree | 7befd88d51446e6ff79937341722efdb416e21fc /build.gradle.kts | |
| parent | 41b5b0a68ebe535c42bf2736edc790f7b9b36d71 (diff) | |
| download | art-playground-openrndr-4da202819126a8b4d93b553029d0128279c26942.tar.gz art-playground-openrndr-4da202819126a8b4d93b553029d0128279c26942.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")}") } } |
