KT-23880: Enable incremental APT mode with KAPT by default

The feature has been present since 1.3.30 behind a flag. This
commit enables it by default.
This commit is contained in:
Ivan Gavrilovic
2019-07-17 20:39:50 +01:00
committed by Yan Zhulanow
parent a108af76d6
commit ad352355de
@@ -124,7 +124,7 @@ class Kapt3KotlinGradleSubplugin : KotlinGradleSubplugin<KotlinCompile> {
}
fun Project.isIncrementalKapt(): Boolean {
return hasProperty(INCREMENTAL_APT) && property(INCREMENTAL_APT) == "true"
return !(hasProperty(INCREMENTAL_APT) && property(INCREMENTAL_APT) == "false")
}
fun Project.isInfoAsWarnings(): Boolean {