Merged
Conversation
- Add Vanniktech Maven Publish Plugin for Maven Central publishing - Configure Sonatype Central Portal publishing - Centralize version management in gradle.properties (VERSION_NAME) - Create release workflow triggered on tag push - Add CHANGELOG.md following Keep a Changelog format - Add CODE_OF_CONDUCT.md - Fix validate-pr workflow to target 'main' branch - Add null safety checks to Android implementation - Replace System.err with Napier logging - Add KMP installation instructions to README
Kotlin/Native 1.9.21 is incompatible with Xcode 16.4 (macos-latest). Pin to macos-14 with Xcode 15.4 to resolve cinterop errors.
Kotlin 1.9.21 has compatibility issues with newer Xcode versions. Build Android target only in CI for now. iOS build can be done locally.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR sets up the complete release infrastructure for publishing UXCam-KMP to Maven Central.
Changes
Release Infrastructure:
v*)gradle.properties(VERSION_NAME=1.0.0)Documentation:
Code Quality:
Files Changed
build.gradle.ktsgradle.propertiesuxcam-kmp-shared/build.gradle.ktsuxcam-kmp-shared/src/androidMain/.../UXCam.kt.github/workflows/release.yml.github/workflows/validate-pr.ymlCHANGELOG.mdCODE_OF_CONDUCT.mdREADME.mdRequired Secrets (before first release)
MAVEN_CENTRAL_USERNAME- Sonatype Central Portal token usernameMAVEN_CENTRAL_PASSWORD- Sonatype Central Portal token passwordSIGNING_KEY- GPG private key (ASCII armored)SIGNING_PASSWORD- GPG key passphraseRelease Process (after merge)
Test plan
./gradlew :uxcam-kmp-shared:compileReleaseKotlinAndroid)