UUID

A Kotlin multiplatform implementation of a v4 RFC4122 UUID

License

License

GroupId

GroupId

com.benasher44
ArtifactId

ArtifactId

uuid-iossim
Last Version

Last Version

0.0.6
Release Date

Release Date

Type

Type

klib
Description

Description

UUID
A Kotlin multiplatform implementation of a v4 RFC4122 UUID
Project URL

Project URL

https://github.com/benasher44/uuid/
Source Code Management

Source Code Management

https://github.com/benasher44/uuid/

Download uuid-iossim

Dependencies

compile (1)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib-common jar 1.3.60

Project Modules

There are no modules declared in this project.

A Kotlin Multiplatform UUID

Maven Central Build Status Contributor Covenant

K/N doesn't have a UUID yet. This brings a UUID that matches UUIDs on various platforms:

  • iOS/Mac: NSUUID
  • Java: java.util.UUID

UUID

  • Frozen
  • Thread-safe (thread-safe randomness in native)
  • Adheres to RFC4122
  • Tested
  • Tested against macOS/iOS UUID to verify correctness

Setup

In your build.gradle(.kts):

  • Add mavenCentral() to your repositories
  • Add implementation "com.benasher44:uuid:<version>" as a dependency in your commonMain sourceSets.

This library publishes gradle module metadata, so you should have enableFeaturePreview("GRADLE_METADATA") in your settings.gradle(.kts).

Future Goals

  • Develop UUID functionality that can be contributed back to the Kotlin stdlib (see latest issues, PRs, and CHANGELOG.md for updates)

Versions

Version
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1