Skip to content
/ KMMLib Public

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

Notifications You must be signed in to change notification settings

thebino/KMMLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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