https://kotlinlang.org logo
Title
b

birdsofparadise

12/06/2020, 10:54 PM
Alright it seems like the best solution is to access it via
System.getProperty
like: gradle.properties
systemProp.kotlin_version=1.4.20
build.gradle.kts
plugins {
    id("com.android.application") version "4.0.1"
    kotlin("android") version System.getProperty("kotlin_version")
}
j

Javier

12/06/2020, 11:13 PM
are you using buildSrc?
b

birdsofparadise

12/06/2020, 11:14 PM
buildSrc?
j

Javier

12/06/2020, 11:15 PM
I guess that is no. Maybe you can wait until 6.9
b

birdsofparadise

12/06/2020, 11:17 PM
That looks promising
Is it only available in Alpha version of gradle?
j

Javier

12/06/2020, 11:19 PM
Yeah, 6.9 nightly
b

birdsofparadise

12/06/2020, 11:19 PM
great I'll migrate to using that once it drops in normal channel
thanks
I wrote a simple site a while back https://versions.dev/ that generates out script files and I've been having trouble having it work with the new plugin system