2018-08-23から1日間の記事一覧
gradleからscriptを起動させる際に、方法は幾つかありますが、 exec{} と .execute() の違いについてメモります。 exec{} : tasks.withType(Test) { exec { commandLine '/bin/sh', '-c', "./test.sh" } } .execute() : tasks.withType(Test) { "./test.sh".…
gradleからscriptを起動させる際に、方法は幾つかありますが、 exec{} と .execute() の違いについてメモります。 exec{} : tasks.withType(Test) { exec { commandLine '/bin/sh', '-c', "./test.sh" } } .execute() : tasks.withType(Test) { "./test.sh".…