Fix launching custom Kt files from command line
The `application` property was already used. Reusing it breaks things. Use `openrndr.application` instead.
This commit is contained in:
@@ -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")}")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user