K2 kapt: remove reference to "kapt 4" from the warning

#KT-62438 Fixed
This commit is contained in:
Alexander Udalov
2023-10-09 14:55:50 +02:00
committed by Space Team
parent 79193006ce
commit 9164b7d405
2 changed files with 3 additions and 3 deletions
@@ -79,7 +79,7 @@ private fun switchToFallbackModeIfNecessary(arguments: CommonCompilerArguments,
arguments.allowUnstableDependencies = true
}
arguments.useKapt4 -> warn(
if (isK2) "Kapt 4 is an experimental feature. Use with caution."
if (isK2) "K2 kapt is an experimental feature. Use with caution."
else "-Xuse-kapt4 flag can be only used with language version 2.0+."
)
}