且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在Intellij中将Gradle bootRun与--args一起使用

更新时间:2023-01-11 15:41:11

也许您可以在IDEA的Run/Debug Configurations中以bootRun --args='foo'的形式将args添加到Tasks.

Maybe you can add your args to Tasks as bootRun --args='foo' in IDEA's Run/Debug Configurations.

我的任务是run --args='-h',它对我有用

My task is run --args='-h' and it works for me