
Generates thread-safe, RFC4122-compliant UUIDs, compatible with iOS/Mac `NSUUID` and Java `java.util.UUID`. Ensures correctness through extensive testing. Aims to contribute functionality to the standard library.
K/N doesn't have a UUID yet. This brings a UUID that matches UUIDs on various platforms:
NSUUID
java.util.UUID
In your build.gradle(.kts):
mavenCentral() to your repositoriesimplementation "com.benasher44:uuid:<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).
K/N doesn't have a UUID yet. This brings a UUID that matches UUIDs on various platforms:
NSUUID
java.util.UUID
In your build.gradle(.kts):
mavenCentral() to your repositoriesimplementation "com.benasher44:uuid:<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).