Slackbot
09/05/2022, 2:14 PMNiels Doucet
09/05/2022, 2:29 PMefemoney
09/05/2022, 3:55 PMsourceSets.all{ .remove(it) }
instead and that seems to work 🤷.
That said, I understand the message above but these source sets are added in response to the agp variants and for the modules in question these agp variants are disabled and no tasks generated that use the variants or sourceSets (in theory 😅).
Still, I take responsibility for whatever consequence removing the sourcesets bring though I imagine it to be none after looking through the kotlin plugin source 🤔.Vladimir Sitnikov
09/05/2022, 7:13 PM.whenObjectRemoved { }
, so the clients have APIs to track removals and act accordingly.efemoney
09/05/2022, 7:17 PM