madorb
06/21/2017, 5:15 PMgradle.properties
and referenced them in the build.gradle e.g.
dependencies: {
compile("foo:bar:${fooBarVersion}");
...
}
it looks like to do the equivalent in kotlin i have to define the variable in the kotlin script first before using it? e.g.
val fooBarVersion: String by extra
compile("foo:bar:$fooBarVersion")
is this the case? if so, not sure there is much benefit to externalizing into gradle.properties
vs just defining the version n the build file... pls let me know if i'm missing something