guenther
08/23/2017, 2:30 PMbuildscript {
repositories {
jcenter()
}
dependencies {
classpath(kotlin("gradle-plugin", "1.1.4-2"))
}
}
subprojects {
apply {
plugin("org.jetbrains.kotlin.jvm")
}
repositories {
jcenter()
}
dependencies {
compile(kotlin("stdlib-jre8", "1.1.4-2"))
...
}
}
It says that Unresolved reference: compile
in the line compile(kotlin("stdlib-jre8", "1.1.4-2"))
Why can't it find the compile all of a sudden?