Enabled incremental compilation by default in Gradle plugin.

#KT-16546 Fixed

(cherry picked from commit 06715c5)
This commit is contained in:
Sergey Igushkin
2017-03-06 15:51:27 +03:00
parent ef38761dc2
commit ee6aae7219
@@ -86,6 +86,10 @@ abstract class AbstractKotlinCompile<T : CommonCompilerArguments>() : AbstractCo
System.setProperty("kotlin.incremental.compilation.experimental", value.toString())
}
init {
incremental = true //to execute the setter as well
}
internal var coroutinesFromGradleProperties: Coroutines? = null
// Input is needed to force rebuild even if source files are not changed
@get:Input