Kotlin Compiler Plugin which high-jacks Kotlin assert function calls and transforms them similar to Groovy's Power Assert feature. This plugin uses the IR backend for the Kotlin compiler and supports all platforms: JVM, JS, and Native!

Features

  • The plugin by default will transform assert function calls but can also transform other functions like require, check, assertTrue, and many, many more
  • Gradle Plugin
  • Documentation available
  • Examples available
  • The Kotlin compiler plugin API is unstable and each new version of Kotlin can bring breaking changes to the APIs used by this compiler plugin
  • This plugin supports all IR based compiler backends

Project Samples

Project Activity

See All Activity >