Skip to content

Commit 531a43b

Browse files
Remove macosX64 target as it's causing problems with IDEA 2024.1+ (#2973)
### What's done: - `macosX64` target removed (because :common depends on `cosv4k` which doesn't provide `macosX64`-specific publications); - no more project resolution problems in IDEA 2024.1+; - fixes #2972. (cherry picked from commit 877c276)
1 parent ed054e0 commit 531a43b

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

save-cloud-common/build.gradle.kts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ kotlin {
3232

3333
// setup native compilation
3434
linuxX64()
35-
macosX64()
3635

3736
sourceSets {
3837
sourceSets.all {
@@ -107,13 +106,11 @@ kotlin {
107106
}
108107

109108
val linuxX64Main by getting
110-
val macosX64Main by getting
111109

112110
@Suppress("UNUSED_VARIABLE")
113111
val nativeMain by creating {
114112
dependsOn(commonMain)
115113
linuxX64Main.dependsOn(this)
116-
macosX64Main.dependsOn(this)
117114

118115
dependencies {
119116
implementation(libs.ktoml.core)

save-demo-agent/build.gradle.kts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,13 @@ kotlin {
2222
}
2323
}
2424
}
25-
macosX64(configureNative)
2625
linuxX64(configureNative)
2726

2827
sourceSets {
29-
val macosX64Main by getting
3028
val linuxX64Main by getting
3129

3230
@Suppress("UNUSED_VARIABLE")
3331
val nativeMain by creating {
34-
macosX64Main.dependsOn(this)
3532
linuxX64Main.dependsOn(this)
3633

3734
dependencies {
@@ -51,12 +48,10 @@ kotlin {
5148
}
5249
}
5350

54-
val macosX64Test by getting
5551
val linuxX64Test by getting
5652

5753
@Suppress("UNUSED_VARIABLE")
5854
val nativeTest by creating {
59-
macosX64Test.dependsOn(this)
6055
linuxX64Test.dependsOn(this)
6156
dependencies {
6257
implementation(libs.kotlin.test)

0 commit comments

Comments
 (0)