Kotlin Multiplatform UUID
K/N doesn’t have a UUID yet. This brings a UUID that matches UUIDs on various platforms:
NSUUID
java.util.UUID
UUID
In your build.gradle(.kts):
mavenCentral()
to your repositoriesimplementation "com.benasher44
<version>"
as a dependency in your commonMain
sourceSets
.This library publishes gradle module metadata. If you’re using Gradle prior to version 6, you should have enableFeaturePreview("GRADLE_METADATA")
in your settings.gradle(.kts).