@penguin86 F-Droid builds with the needed tools. If you use gradle flavors that's up to gradle to do its own thing. Analytics are a different topic, but yes, usually flavors are used to separate the fully FOSS build for F-Droid from the other variants.
@penguin86 We have some of those too, but the discussion is longer, let's switch to https://gitlab.com/fdroid/rfp/-/issues instead.