Closed HGuillemet closed 2 years ago
When defining a secondary launcher with Kotlin DSL:
jlink { secondaryLauncher { name = "my-additional-app" mainClass.set("org.example.MyAdditionalApp") args = listOf("--user", "emma") } }
Gradle complains with:
Property 'mainClass' not set in 'secondaryLauncher' block
Is there something I'm doing wrong ?
BTW, the example in the documention for Kotlin DSL reads:
mainClass = "org.example.MyAdditionalApp"
which also triggers an error:
Type mismatch: inferred type is String but Property<String!>! was expecte
Oops sorry, posted in the wrong repository. Moving to badass-jlink-plugin ...
When defining a secondary launcher with Kotlin DSL:
Gradle complains with:
Is there something I'm doing wrong ?
BTW, the example in the documention for Kotlin DSL reads:
which also triggers an error: