Hi, I have turned on Explicit API in an existing lib. Is there a way to append public to every class which is already public? There are 100+ files showing an error and it's boring to go thru one by one
f
François
08/22/2024, 8:54 AM
You need to do it manually, explicitly!
g
Giorgi
08/22/2024, 8:54 AM
sad panda
😁 1
f
François
08/22/2024, 8:54 AM
Making a regex for replacing could be a solution to find/replace, good luck
François
08/22/2024, 8:56 AM
or you can use
explicitApiWarning()
until you do the migration
m
Michael Krussel
08/22/2024, 12:18 PM
Might be able to use a tool like ktlint or detekt that offer a autocorrect feature.