If I use the `application` plugin, I can then run ...
# gradle
l
If I use the
application
plugin, I can then run the application using
./gradlew modulename:run
. Is there a way to pass commandline options to the program?
./gradlew modulename:run --some-option
doesn't work. This just passes
--some-option
to gradle, and not my application.
v
./gradlew help --task modulename:run
😉
mind blown 1
Besides that the question if off-topic here, as it is not in any way Kotlin related, please always consider channel and server topics additionally to name in open communities like this one. 🙂
l
Fair, although it's not always easy to know what belongs to what part of gradle.
In any case, thanks a lot for your help. It did work.
👌 1
👌🏾 1