Does anyone know of a Gradle plugin to count publi...
# library-development
s
Does anyone know of a Gradle plugin to count public methods? Kind-of like dexcount but for Kotlin APIs?
m
halfly joking: kotlin-binary-compatibility + sed?
s
I was thinking about that too 😜 but it contains a lot of unrelated things. It repeats all inherited methods etc so it would "fasely" give me a higher number 🤔 It would still show the decrease in size across versions though.
m
Yea it'll give you a trend, no very precise thing
s
Doing some method counting, and binary size counting for KotlinConf 😁 💪
m
Nice!
a
Perhaps Dokka? It has configurations to filter by visibility, and exclude toString/equals