BorzdeG
11/15/2017, 9:21 AMkotlinVersion
in the section plugins
?
val kotlinVersion: String by extra
plugins {
kotlin("jvm") version kotlinVersion
}
Unresolved reference: kotlinVersion
gildor
11/15/2017, 9:38 AMCzar
11/15/2017, 11:30 AMplugins
block. should be plugins {
kotlin("jvm") version "1.1.60"
}
This shouldn't bee too much trouble, IMHO, because that is probably the only place where you'll have to use version, the rest will follow suit and use the version defined for the plugin, e.g.
dependencies {
compile("org.jetbrains.kotlin:kotlin-stdlib-jre8")
}