[KAPT4] KT-61761 Prevent Kapt from reporting unsupported plugin in K2/PSI

Also:
- remove the redundant KaptOptions.USE_K2
- prevent registration of Kapt4AnalysisHandlerExtension in K1
This commit is contained in:
strangepleasures
2023-09-12 16:58:38 +00:00
committed by Space Team
parent 6475942ced
commit 52b0ea65d2
4 changed files with 10 additions and 18 deletions
@@ -130,7 +130,6 @@ enum class KaptFlag(val description: String, val defaultValue: Boolean = false)
STRIP_METADATA("Strip @Metadata annotations from stubs"),
KEEP_KDOC_COMMENTS_IN_STUBS("Keep KDoc comments in stubs", defaultValue = true),
USE_JVM_IR("Use JVM IR backend", defaultValue = true),
USE_K2("Use K2"),
;
}