Is it possible to exclude paths from `explicitApi`...
# announcements
p
Is it possible to exclude paths from
explicitApi
? I want to enable it for a library but that library also exposes generated classes by sqldelight and I'd like to not fail the compilation on generated classes.
i
No, it's a compilation-wide setting. If you can extract the generated code in a separate compilation unit, e.g. gradle sourceset, you could override compilation options for that source set.
But perhaps a better solution would be to make sqldelight generate explicit visibility modifiers, https://github.com/cashapp/sqldelight/issues/1908
p
Thanks. I'm aware of that but as it's not supported I thought there maybe is a package exclude filter or something like that.