or you can use the application plugin, and pass args by configuring the
run
command
☝️ 1
n
napperley
05/03/2018, 9:28 PM
Prefer to keep the run task unchanged to cover th use case of running a program without args.
napperley
05/04/2018, 6:27 AM
There doesn't seem to be a way to create a custom run task with Kotlin DSL.
g
gildor
05/04/2018, 7:12 AM
What do you mean? Of course you can create custom task in Kotlin DSL that based on some task type.
Your problem with creating of JavaExec task related to some other problem, not to Kotlin-DSL, I’m pretty sure