Kapt: Enable worker API mode by default (KT-32832)

This commit is contained in:
Yan Zhulanow
2019-07-26 02:47:29 +09:00
parent 68723125f2
commit 958e6623fc
@@ -121,7 +121,7 @@ class Kapt3KotlinGradleSubplugin : KotlinGradleSubplugin<KotlinCompile> {
} }
fun Project.isUseWorkerApi(): Boolean { fun Project.isUseWorkerApi(): Boolean {
return hasProperty(USE_WORKER_API) && property(USE_WORKER_API) == "true" return !(hasProperty(USE_WORKER_API) && property(USE_WORKER_API) == "false")
} }
fun Project.isIncrementalKapt(): Boolean { fun Project.isIncrementalKapt(): Boolean {