@PROJECT_DESCRIPTION@
- Add the lib to your project's dependencies:
- Groovy (replace
$@PROJECT_NAME@_version
with the version you want):
// universal dependency for Gradle 5.3 and above
// in case of multiplatform project, just specify the dependency for commonMain/commonTest source set
implementation "net.pearx.@PROJECT_NAME@:@PROJECT_NAME@:$@PROJECT_NAME@_version"
// for Gradle versions below 5.3:
implementation "net.pearx.@PROJECT_NAME@:@PROJECT_NAME@-metadata:$@PROJECT_NAME@_version" // for Common
// or
implementation "net.pearx.@PROJECT_NAME@:@PROJECT_NAME@-jvm:$@PROJECT_NAME@_version" // for JVM
// or
implementation "net.pearx.@PROJECT_NAME@:@PROJECT_NAME@-js:$@PROJECT_NAME@_version" // for JS
// or
implementation "net.pearx.@PROJECT_NAME@:@PROJECT_NAME@-android:$@PROJECT_NAME@_version" // for Android
// or
implementation "net.pearx.@PROJECT_NAME@:@PROJECT_NAME@-PLATFORM_YOU_WANT:$@PROJECT_NAME@_version" // for Native
- Kotlin (replace
$@PROJECT_NAME@Version
with the version you want):
// universal dependency for Gradle 5.3 and above
// in case of multiplatform project, just specify the dependency for commonMain/commonTest source set
implementation("net.pearx.@PROJECT_NAME@:@PROJECT_NAME@:$@PROJECT_NAME@Version")
// for Gradle versions below 5.3:
implementation("net.pearx.@PROJECT_NAME@:@PROJECT_NAME@-metadata:$@PROJECT_NAME@Version") // for Common
// or
implementation("net.pearx.@PROJECT_NAME@:@PROJECT_NAME@-jvm:$@PROJECT_NAME@Version") // for JVM
// or
implementation("net.pearx.@PROJECT_NAME@:@PROJECT_NAME@-js:$@PROJECT_NAME@Version") // for JS
// or
implementation("net.pearx.@PROJECT_NAME@:@PROJECT_NAME@-android:$@PROJECT_NAME@Version") // for Android
// or
implementation("net.pearx.@PROJECT_NAME@:@PROJECT_NAME@-PLATFORM_YOU_WANT:$@PROJECT_NAME@Version") // for Native
- Use the library and have fun!