suresh
05/09/2017, 3:12 PMkotlinVersion between the new plugin { } block and the dependencies { } one? (I made quick tries with by extra but could not make it works)
1 reply
sdeleuze: One trick you can do is, put all your versions in gradle.properties as systemProp and access them from builScript, plugins & ‘buildSrc` etc. https://github.com/sureshg/kotlin-starter/blob/master/gradle.properties#L29-L32 . At least this is working in my case, so i don’t have to make changes in many places to bump up the kotlin/kotlinx versions. By the way, plugins block does allow System.getProperty.