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:
committed by
Yan Zhulanow
parent
a108af76d6
commit
ad352355de
+1
-1
@@ -124,7 +124,7 @@ class Kapt3KotlinGradleSubplugin : KotlinGradleSubplugin<KotlinCompile> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun Project.isIncrementalKapt(): Boolean {
|
fun Project.isIncrementalKapt(): Boolean {
|
||||||
return hasProperty(INCREMENTAL_APT) && property(INCREMENTAL_APT) == "true"
|
return !(hasProperty(INCREMENTAL_APT) && property(INCREMENTAL_APT) == "false")
|
||||||
}
|
}
|
||||||
|
|
||||||
fun Project.isInfoAsWarnings(): Boolean {
|
fun Project.isInfoAsWarnings(): Boolean {
|
||||||
|
|||||||
Reference in New Issue
Block a user