Add publish workflow
Merged
SE
4mo ago+100+100+012345678901234567890123456789-10-10-01234567890123456789
Summary by cubic
Automates publishing the Android library to Maven Central on tagged releases and configures Gradle/POM metadata for dev.wvb:webview-bundle-android. Adds consumer ProGuard rules to keep JNA/UniFFI classes so FFI works in minified apps.
-
New Features
- GitHub Actions workflow publishes on
v*tags; derives version from tag and runs:lib:publishToMavenCentralwith signing from secrets. - Integrates
com.vanniktech.maven.publish(0.35.0); setsdev.wvb:webview-bundle-android, publishes sources/javadoc JARs, and fills POM metadata.
- GitHub Actions workflow publishes on
-
Bug Fixes
- Replace JS bridge keep rule with consumer rules for JNA/UniFFI to prevent R8 stripping/renaming of native bindings and avoid runtime FFI failures.