Skip to content

swapnil-musale/KLibrary

Repository files navigation

KLibrary

Kotlin Multiplatform Library

Publish to MavenCentral

  1. Registering a Sonatype account as described here: https://dev.to/kotlin/how-to-build-and-publish-a-kotlin-multiplatform-library-going-public-4a8k
  2. Add developer id, name, email and the project url to /convention-plugins/src/main/kotlin/convention.publication.gradle.kts
  3. Add the secrets to local.properties:
signing.keyId=...
signing.password=...
signing.secretKeyRingFile=...
ossrhUsername=...
ossrhPassword=...
  1. Run ./gradlew :dodo:publishAllPublicationsToSonatypeRepository

Build platform artifacts

Android aar

  • Run ./gradlew :kLibrary:assembleRelease
  • Output: /kLibrary/build/outputs/aar/kLibrary-release.aar

iOS Framework

  • Run ./gradlew :kLibrary:linkReleaseFrameworkIosArm64
  • Output: /kLibrary/build/bin/iosArm64/releaseFramework/kLibrary.framework

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages