janvladimirmostert
06/11/2020, 8:15 PMval kotlinVersion: String = "1.4-M2"
// fun Project.kotlinVersion(): String = "1.4-M2"
plugins {
kotlin("multiplatform").version(kotlinVersion)
this doesn't show any red lines in the IDE, but neither does it compile, i doesn't know what Version is
object Version {
const val kotlin = "1.4-M2"
}
plugins {
kotlin("multiplatform").version(Version.kotlin)
Dariusz Kuc
06/11/2020, 8:55 PMgradle.properties
for defining those?christophsturm
06/12/2020, 1:44 PMDariusz Kuc
06/12/2020, 2:01 PMgradle.properties
and then defining plugin versions in settings.gradle.kts
under plugin management section (https://github.com/ExpediaGroup/graphql-kotlin/blob/master/settings.gradle.kts#L1, i.e. you can read those by settings
) so we just reference the plugins in build file. All other properties are read in build.gradle.kts
through by project
janvladimirmostert
06/13/2020, 9:20 AM