[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:
committed by
Space Team
parent
6475942ced
commit
52b0ea65d2
@@ -149,10 +149,9 @@ class K2JVMCompiler : CLICompiler<K2JVMCompilerArguments>() {
|
||||
createProjectEnvironment(configuration, rootDisposable, EnvironmentConfigFiles.JVM_CONFIG_FILES, messageCollector)
|
||||
if (messageCollector.hasErrors()) return COMPILATION_ERROR
|
||||
|
||||
// TODO: uncomment (KT-61761)
|
||||
// if (!FirKotlinToJvmBytecodeCompiler.checkNotSupportedPlugins(configuration, messageCollector)) {
|
||||
// return COMPILATION_ERROR
|
||||
// }
|
||||
if (!FirKotlinToJvmBytecodeCompiler.checkNotSupportedPlugins(configuration, messageCollector)) {
|
||||
return COMPILATION_ERROR
|
||||
}
|
||||
|
||||
compileModulesUsingFrontendIrAndLightTree(
|
||||
projectEnvironment, configuration, messageCollector, buildFile, chunk.single(), targetDescription,
|
||||
|
||||
Reference in New Issue
Block a user