thebino / KMMLib

📦 Showcase to publish a kotlin multiplatform mobile Library to github packages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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")
}

About

📦 Showcase to publish a kotlin multiplatform mobile Library to github packages


Languages

Language:Kotlin 61.7%Language:Ruby 38.3%