Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 870 Bytes

README.MD

File metadata and controls

34 lines (28 loc) · 870 Bytes

Kormatter

This is more or less the exact same project as this. I simply updated it to support native kotlin platforms and updated the build system to work with modern Kotlin Multiplatform. Big thanks to the original creator mrapplexz

Description

Kormatter is a multiplatform Kotlin interpreter for printf-style format strings (like java.util.Formatter). Allows to do your favourite (or not so) String.format(...) in pure Kotlin ;).

How to Add Kormatter to Your Project

repositories {
    ... 
    maven("https://repos.awhb.dev/releases")
    ...
}

add following in your commonMain source set

sourceSets {
  val commonMain by getting {
    dependencies {
      ...
      implementation("com.blackstone:kormatter:0.1.0")
        ...
    }
  }
}
  ...