jmfayard
fun Project.doSomethingCool()
build.gradle
project.kt.doSomethingCool()
Nikky
compile()
plugins()
Project
compile(ktor("engine-cio"))
compile(Config.ktor("engine-cio")) object Config { @JvmStatic fun ktor(module: String): String { require(module in ktorModules) { "Ktor module=$module not in $ktorModules"} return "io.ktor:ktor-$module:1.0.0" } val ktorModules = listOf("server-core", "client-core" , ...)
A modern programming language that makes developers happier.