kirillrakhman
01/04/2017, 2:26 PMdependencies {
"compile"("org.jetbrains.kotlin:kotlin-stdlib:+")
}
under the hood it has something like this (very simplified)
DependencyBlock {
val list: MutableList<Dependency>
operator fun String.invoke(name: String) {
list.add(Dependency(scope = this, name = name))
}
}