Build: Migrate BCV and run checks for PRs#35
Conversation
|
BCV in KGP is still experimental, so I'd like to wait for it to be stable before migration. (Or once AndroidX migrates.) I was under the impression apiCheck should be part of |
|
|
|
https://github.com/kotlin/binary-compatibility-validator#tasks :
You are right it's only in I was using |
|
Actually I prefer running
We can add |
|
I think that doesn't really work when I actually want to publish the sample app. So I'd still prefer a solution that works universally, and seems to me that would be |
|
Debug signings are created by AGP, and they can be reused for release builds. The only side effect is that the debug signings are not permanent across different CI runners. If we need the permanent signing, try something like creating storable credentials for this project or decoding the personal credentials on CI. However, I don't think it's worth for investing so much engineering effort into such a sample project. |
|
I don't really want to reuse my debug signing for release builds - but I don't want to create stored credentials (or using CI secrets) in the git repo either. So I'd rather keep using |
|
See https://github.com/zhanghai/ComposePreference/actions/runs/26722413641/job/78751771933 |
It helps us avoid accidental API breaking changes.
https://kotlinlang.org/docs/gradle-binary-compatibility-validation.html