[MPP][Gradle] Replace obsolete linuxArm32Hfp target with mingwX64 in MppCInteropDependencyTransformationIT.KT50952
^KT-50952 ^KT-58822
This commit is contained in:
committed by
Space Team
parent
15e5adf2b5
commit
f27ca23000
+1
-1
@@ -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()
|
||||
|
||||
+1
-2
@@ -19,8 +19,7 @@ publishing {
|
||||
}
|
||||
|
||||
kotlin {
|
||||
@Suppress("DEPRECATION_ERROR")
|
||||
linuxArm32Hfp()
|
||||
mingwX64()
|
||||
val targetsWithInterop = listOf(linuxX64(), linuxArm64())
|
||||
|
||||
targets.withType<KotlinNativeTarget>().forEach { target ->
|
||||
|
||||
+2
-3
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user