voddan
05/21/2016, 11:57 AM// somewhere in Gradle
interface Config {
operator fun invoke(group: String) { TODO() }
}
object Configurations
// in a plugin
val Configurations.compile: Config
get() = TODO()
// build script
dependencies {
Configurations.compile("...")
val compile = Configurations.compile
compile(group = "…")
}