[MPP][Gradle] Replace obsolete linuxArm32Hfp target with mingwX64 in MppCInteropDependencyTransformationIT.KT50952

^KT-50952
^KT-58822
This commit is contained in:
Timofey Solonin
2023-06-06 18:00:27 +02:00
committed by Space Team
parent 15e5adf2b5
commit f27ca23000
3 changed files with 4 additions and 6 deletions
@@ -315,7 +315,7 @@ abstract class MppCInteropDependencyTransformationIT : BaseGradleIT() {
assertTasksUpToDate(":p2:transformCommonMainCInteropDependenciesMetadata")
}
val optionsWithAdditionalTargetEnabled = options.withFreeCommandLineArgument("-Pp2.enableLinuxArm32Hfp")
val optionsWithAdditionalTargetEnabled = options.withFreeCommandLineArgument("-Pp2.enableAdditionalTarget")
project.build(":p2:transformCommonMainCInteropDependenciesMetadata", options = optionsWithAdditionalTargetEnabled) {
assertSuccessful()
@@ -19,8 +19,7 @@ publishing {
}
kotlin {
@Suppress("DEPRECATION_ERROR")
linuxArm32Hfp()
mingwX64()
val targetsWithInterop = listOf(linuxX64(), linuxArm64())
targets.withType<KotlinNativeTarget>().forEach { target ->
@@ -15,9 +15,8 @@ kotlin {
linuxX64()
linuxArm64()
if (properties.containsKey("p2.enableLinuxArm32Hfp")) {
@Suppress("DEPRECATION_ERROR")
linuxArm32Hfp()
if (properties.containsKey("p2.enableAdditionalTarget")) {
mingwX64()
}
targets.withType<KotlinNativeTarget>().configureEach {