我试图将大量参数传递给Gradle中的JavaExec任务。现在我正在做类似的事情: task foo(type: JavaExec) { if (project.hasProperty('prop1')) { args += ["--prop1"] } ...
確定! 回上一頁