Gradle "Arguments" field missing from Run Configurations in 2021.2

Answered

How do you set the arguments in the latest version?

I can append them in the "Run" field, but that creates a new Run Configuration, which I don't want.

0
5 comments

Specify them directly in command line text field:

0

Thanks for the quick reply!

The problem with that is:
If I already have a Run Configuration named "deploy", this creates a new Run Configuration named "deploy (1)".

That wasn't the case in all previous versions, where you could just add the Arguments in the separate field that was available.
When I then run "deploy" from the Gradle Tool Window, it runs without the Arguments specified. This means I now have to always manually switch the Run Configuration in the top right dropdown to get what I want...

0

To add to this:
If I then run "deploy" from the Gradle Tool Window it creates yet another "deploy (2)" Run Configuration...

0

Thank you for more details. I have created the https://youtrack.jetbrains.com/issue/IDEA-275483 issue for this. Please vote and follow it in YouTrack.

0

Please sign in to leave a comment.