You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kotlin(d2+d3): move android natives to AAR module + wire android-smoke
D2 — Android native staging path moves from
kotlin/lib/src/main/resources/lib/<abi>/ (JVM JAR's lib/<abi>/)
to
kotlin/android/src/main/jniLibs/<abi>/ (AAR source set; AGP
packages into the AAR's
jni/<abi>/, then merged
into consumer APKs).
Updated:
- cargo make kotlin-android task (writes to jniLibs path).
- release.yml stage-natives step (writes both JVM resources + AAR
jniLibs from the cdylib + android-jniLibs artifacts).
- ci_kotlin.yml kotlin-android-consumer-smoke job (same).
- verify-kotlin-artifact (validates both source trees instead of
just kotlin/lib/src/main/resources).
- publish step: ./gradlew publishAndReleaseToMavenCentral now (no
:lib: prefix) so both subprojects publish.
- .gitignore: kotlin/android/src/main/jniLibs/ is CI-generated.
D3 — kotlin/android-smoke consumes the new AAR coordinate. Composite
build substitutes computer.iroh:iroh-android → :android (was iroh →
:lib). app/build.gradle.kts depends on iroh-android (which transitively
brings in :lib + JNA AAR correctly).
Also: make :android subproject conditionally included (skip on hosts
without an Android SDK, e.g. the self-hosted linux-aarch64 runner
where setup-android@v3 fails). Lets :lib build + test on that runner
without the SDK. JVM smoke + JVM test jobs skip setup-android on
linux-aarch64.
description = "Verify kotlin/lib/src/main/resources/ has every required native lib (4 desktop JNA paths + 4 Android ABIs under lib/) with the correct architecture, before Maven publish."
268
+
description = "Verify the two Kotlin artifact source trees have every required native lib with the correct architecture, before Maven publish. JVM JAR: 4 desktop JNA paths under kotlin/lib/src/main/resources/. AAR: 4 Android ABIs under kotlin/android/src/main/jniLibs/."
0 commit comments