madorb
05/14/2018, 9:06 PMgradle.properties
kotlinVersion=kotlinVersion=1.2.41
and
build.gradle
buildscript {
...
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
...
}
and it is able to determine the appropriate values.
in kotlin it looks like i can do
val kotlinVersion: String by project
...
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}"
but now i've had to define it before i reference it and i might as well just inline the version there instead of int hep roperties file.