I've a kotlin-multiproject and after upgrading fro...
# gradle
g
I've a kotlin-multiproject and after upgrading from gradle 4.0.x to 4.1 it seems not longer to work. The root-gradle file is
Copy code
buildscript {
    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?