Does anyone know of a Gradle plugin to count public methods? Kind-of like dexcount but for Kotlin APIs?
m
mbonnin
03/31/2023, 2:47 PM
halfly joking: kotlin-binary-compatibility + sed?
s
simon.vergauwen
03/31/2023, 2:49 PM
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
mbonnin
03/31/2023, 2:50 PM
Yea it'll give you a trend, no very precise thing
s
simon.vergauwen
03/31/2023, 2:51 PM
Doing some method counting, and binary size counting for KotlinConf š šŖ
m
mbonnin
03/31/2023, 3:01 PM
Nice!
a
Adam S
03/31/2023, 3:15 PM
Perhaps Dokka? It has configurations to filter by visibility, and exclude toString/equals