Skip to content

blackstoneaudio/Kormatter

Repository files navigation

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")
        ...
    }
  }
}
  ...

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages