Ninja Framework example converted to Kotlin