If I want to build & deploy multiple apps. But I'd...
# gradle
u
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
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.
Btw. as your question is not Kotlin related, it is off-topic here, see the topic. ;-)
☝🏻 1
c
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