[MPP] Replace obsolete linuxArm32Hfp with mingwX64 in CommonizerIT test for KT-48138
^KT-48138 ^KT-58822
This commit is contained in:
committed by
Space Team
parent
4cb90aed52
commit
bc306844af
+1
-1
@@ -633,7 +633,7 @@ open class CommonizerIT : BaseGradleIT() {
|
|||||||
val nativeMain = getCommonizerDependencies("nativeMain")
|
val nativeMain = getCommonizerDependencies("nativeMain")
|
||||||
nativeMain.withoutNativeDistributionDependencies().assertDependencyFilesMatches(".*cinterop-dummy")
|
nativeMain.withoutNativeDistributionDependencies().assertDependencyFilesMatches(".*cinterop-dummy")
|
||||||
nativeMain.onlyNativeDistributionDependencies().assertNotEmpty()
|
nativeMain.onlyNativeDistributionDependencies().assertNotEmpty()
|
||||||
nativeMain.assertTargetOnAllDependencies(CommonizerTarget(LINUX_X64, LINUX_ARM64, LINUX_ARM32_HFP))
|
nativeMain.assertTargetOnAllDependencies(CommonizerTarget(LINUX_X64, LINUX_ARM64, MINGW_X64))
|
||||||
|
|
||||||
val nativeTest = getCommonizerDependencies("nativeTest")
|
val nativeTest = getCommonizerDependencies("nativeTest")
|
||||||
nativeTest.onlyNativeDistributionDependencies().assertNotEmpty()
|
nativeTest.onlyNativeDistributionDependencies().assertNotEmpty()
|
||||||
|
|||||||
+5
-5
@@ -22,29 +22,29 @@ repositories {
|
|||||||
kotlin {
|
kotlin {
|
||||||
linuxX64()
|
linuxX64()
|
||||||
linuxArm64()
|
linuxArm64()
|
||||||
@Suppress("DEPRECATION_ERROR")
|
mingwX64()
|
||||||
linuxArm32Hfp()
|
|
||||||
|
|
||||||
val commonMain by sourceSets.getting
|
val commonMain by sourceSets.getting
|
||||||
val nativeMain by sourceSets.creating
|
val nativeMain by sourceSets.creating
|
||||||
val linuxX64Main by sourceSets.getting
|
val linuxX64Main by sourceSets.getting
|
||||||
val linuxArm64Main by sourceSets.getting
|
val linuxArm64Main by sourceSets.getting
|
||||||
val linuxArm32HfpMain by sourceSets.getting
|
val mingwX64Main by sourceSets.getting
|
||||||
|
|
||||||
nativeMain.dependsOn(commonMain)
|
nativeMain.dependsOn(commonMain)
|
||||||
linuxX64Main.dependsOn(nativeMain)
|
linuxX64Main.dependsOn(nativeMain)
|
||||||
linuxArm64Main.dependsOn(nativeMain)
|
linuxArm64Main.dependsOn(nativeMain)
|
||||||
linuxArm32HfpMain.dependsOn(nativeMain)
|
mingwX64Main.dependsOn(nativeMain)
|
||||||
|
|
||||||
val commonTest by sourceSets.getting
|
val commonTest by sourceSets.getting
|
||||||
val nativeTest by sourceSets.creating
|
val nativeTest by sourceSets.creating
|
||||||
val linuxX64Test by sourceSets.getting
|
val linuxX64Test by sourceSets.getting
|
||||||
val linuxArm64Test by sourceSets.getting
|
val linuxArm64Test by sourceSets.getting
|
||||||
|
val mingwX64Test by sourceSets.getting
|
||||||
|
|
||||||
nativeTest.dependsOn(commonTest)
|
nativeTest.dependsOn(commonTest)
|
||||||
linuxX64Test.dependsOn(nativeTest)
|
linuxX64Test.dependsOn(nativeTest)
|
||||||
linuxArm64Test.dependsOn(nativeTest)
|
linuxArm64Test.dependsOn(nativeTest)
|
||||||
/* NOTE: linuxArm32HfpTest does not depend on nativeTest */
|
/* NOTE: mingwX64Test does not depend on nativeTest */
|
||||||
|
|
||||||
targets.withType<KotlinNativeTarget>().forEach { target ->
|
targets.withType<KotlinNativeTarget>().forEach { target ->
|
||||||
target.compilations.getByName("main").cinterops.create("dummy") {
|
target.compilations.getByName("main").cinterops.create("dummy") {
|
||||||
|
|||||||
Reference in New Issue
Block a user