Skip to content

Installation

This library can be installed in KMP / Android projects (through Maven), but also natively in other platforms such as iOS/macOS (Swift Package Manager) or Node.js (NPM).

Maven (KMP / Android)

UMD is hosted in my own Maven repository, so before using it in your project you must add the repository https://maven.vinicius.io to your settings.gradle.kts file:

settings.gradle.kts
1
2
3
4
5
6
7
dependencyResolutionManagement {
    repositories {
        google()
        mavenCentral()
        maven("https://maven.vinicius.io")
    }
}

With the repository added, you just need to include the dependency in the file build.gradle.kts:

build.gradle.kts
1
2
3
dependencies {
    implementation("io.vinicius.umd:umd:24.5.0")
}

SwiftPM (iOS / macOS)

To add UMD to your Xcode project, select File > Add Package Dependencies:

Xcode

Enter the repository URL https://github.com/vegidio/umd-lib in the upper right corner to the screen and click on the button Add Package:

Xcode

NPM (Node.js)

Coming soon...