https://github.com/thebino/kmmlib
📦 Showcase to publish a kotlin multiplatform mobile Library to github packages
https://github.com/thebino/kmmlib
android android-library github-packages kotlin-multiplatform-library kotlin-multiplatform-mobile
Last synced: 7 months ago
JSON representation
📦 Showcase to publish a kotlin multiplatform mobile Library to github packages
- Host: GitHub
- URL: https://github.com/thebino/kmmlib
- Owner: thebino
- Created: 2021-06-23T16:45:17.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-23T18:04:48.000Z (over 4 years ago)
- Last Synced: 2025-03-31T03:32:22.690Z (8 months ago)
- Topics: android, android-library, github-packages, kotlin-multiplatform-library, kotlin-multiplatform-mobile
- Language: Kotlin
- Homepage:
- Size: 62.5 KB
- Stars: 20
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# KMMLib
Just a simple showcase how to *publish a kotlin multiplatform mobile library* to github packages.multiplatform
## usage
To use the package inside your application, just add the github repository to your repository list.
> Add the credentials section if the repository isn't public
```kotlin
allprojects {
repositories {
google()
mavenCentral()
maven {
name = "Github Packages"
url = uri("https://maven.pkg.github.com/thebino/KMMLib")
credentials {
username = GITHUB_USER
password = GITHUB_TOKEN
}
}
}
}
dependencies {
implementation("com.example.mysharedlib:shared:0.1.1")
}
```