[Gradle] temporarily change error to warning for linuxArm32Hfp

^KT-58864
This commit is contained in:
Svyatoslav Scherbina
2023-07-24 12:09:06 +02:00
committed by Space Team
parent be9d2953b2
commit 61dbe7fb75
4 changed files with 13 additions and 11 deletions
@@ -113,7 +113,7 @@ internal val nativePresetEntries = HostManager().targets
val deprecation = KotlinPresetEntry.Deprecation(
message = "DEPRECATED_TARGET_MESSAGE",
level = DeprecationLevel.ERROR
level = if (target in KonanTarget.toleratedDeprecatedTargets) DeprecationLevel.WARNING else DeprecationLevel.ERROR
).takeIf { target in KonanTarget.deprecatedTargets }
KotlinPresetEntry(target.presetName, typeName(presetType), typeName(targetType), deprecation)
}