This repo shows the issue Kotlin/binary-compatibility-validator#55
To dump the API, just run make
or ./gradlew mylibrary:apiDump
and check the result file under mylibrary/api/mylibrary.api
.
Here is the api file with kotlin 1.4.32
Here is the api file with kotlin 1.5.0