dharrigan12/05/2017, 1:22 PM
inside dependencies definitions, i.e.,
I know there is another way of defining the var inside the kts file,
inside the dependency definition. The latter being more "groovy" like (without the var definition). Is there no shorter way of expressing this?
Czar12/05/2017, 1:57 PM
Which is still more verbose than groovy, but groovy has nonexistent methods interceptors and stuff, it isn't possible in Kotlin.
val protobufVersion by project compile("com.google.protobuf:protobuf-java:$protobufVersion")
dharrigan12/05/2017, 2:35 PM