Hi guys,
We are totally new to Gradle and are actually experiencing it.
We are stuck on an issue where we want to pass directly our program arguments in the build.gradle scripts.
For example to run our program, let’s say : java -jar MyProg -p1=arg1 -p2=arg1
When Gradle generates the start script, the .bat, we want the program arguments (-p1=arg1 -p2=arg1) to be automatically added without having to do it manually. We don’t want to modifiy the start script all the times but instead want Gradle to generate it for us by adding something in the build.gradle.
Can anyone here please tell us how can we achieve this ?
We have already done researches and could not get anything on this matter.
Thanks for your help.
Regards,
Ronnie