How to detect which build targets are needed in gradle? For example I want to exclude iosArm64() when deploying to simulator.
f
François
06/16/2025, 5:56 AM
During the configuration phase all target are used, just comment the one you don’t need.
During the build task you started, only the targeted one is used.
m
Mario Andhika
06/16/2025, 10:05 AM
That’s what I currently do but I’m wondering if there’s an easy way to automate it.