If I want to build & deploy multiple apps. But I'd rather they all get built first (to see they do build), and only if that passes start deploying
Is this a "mess with task graph job" or simply 2
./gradlew ..
commands?
The latter seems more explicit but idk, is it idiomatic?
not kotlin but kotlin colored 1
v
Vampire
07/31/2025, 6:46 AM
As there is not really a clean way to say "all deploy tasks of all projects must run after all build tasks of all projects", I'd tend to say that two invocations is the way to do indeed.
Vampire
07/31/2025, 6:49 AM
Btw. as your question is not Kotlin related, it is off-topic here, see the topic. ;-)
☝🏻 1
c
CLOVIS
07/31/2025, 7:19 AM
Using two commands is more explicit, but it's also slower, because the configuration cache can use better parallelism if everything is inside a single invokation