What's everyone favorite solution to not run every...
# test
m
What's everyone favorite solution to not run every apple test but still build all the targets? I basically want to test on my host machine + one iOS simulator but skip all the tv/watch/etc...
Disabling the tests is not enough as it still compiles and links all the binaries, which is the expensive part
o
I wonder why skipping dependencies of a disabled task is not the default behavior. 🤔 Would using
gradle.taskGraph.useFilter { task -> ... }
as suggested here help?
m
I went with
gradle.startParameter.excludedTaskNames
(here) It works but requires you to know the task names to exclude explicitely
o
Probably doesn't matter that much if there are no stable classes or metadata we could rely on...
👍 1