/kmpcommon

Primary LanguageKotlinMIT LicenseMIT

KMPCommon

Maven metadata URL

badge badge badge badge

This library is intended to supplement missing functionality when implementing Kotlin Multiplatform. It is mainly packed with libraries that the author needs, and may not be commonly used.

Features

  • DateFormatter
    • A class for formatting dates
    • Dependency: kotlinx-datetime
  • AnyMapper
    • A class that allows you to serialize Any type data
    • Dependency: kotlinx-serialization
  • RunBlocking
    • A class that turns suspend functions into blocking functions in KJS
      • Be careful as it internally waits for completion in an infinite loop
    • Dependency: kotlinx-coroutines-core

Usage

repositories {
    mavenCentral()
+   maven { url = uri("https://repo.repsy.io/mvn/uakihir0/public") }
}

dependencies {
+   implementation("work.socialhub:kmpcommon:0.0.1-SNAPSHOT")
}

License

MIT License

Author

Akihiro Urushihara