https://kotlinlang.org logo
#library-development
Title
# library-development
h

holgerbrandl

01/21/2023, 9:20 AM
Hi there, when building a library, how could I flag certain functions as being used externally (by the users of the library) (without always writing a dummy test)? Or do I simply need to disable the inspection for these functions? Example
j

Javier

01/21/2023, 11:52 AM
Try to enable explicitApi, I think those warnings are gone. If not, you can suppress them for all function in the file (follow the IDE actions so it put the annotation for you)
h

holgerbrandl

01/21/2023, 4:57 PM
Thanks for the advice.
4 Views