Skip to content

Commit 877c276

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.
1 parent a4c11d2 commit 877c276

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

common/build.gradle.kts

-3
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 {
@@ -109,13 +108,11 @@ kotlin {
109108
}
110109

111110
val linuxX64Main by getting
112-
val macosX64Main by getting
113111

114112
@Suppress("UNUSED_VARIABLE")
115113
val nativeMain by creating {
116114
dependsOn(commonMain)
117115
linuxX64Main.dependsOn(this)
118-
macosX64Main.dependsOn(this)
119116

120117
dependencies {
121118
implementation(libs.ktoml.core)

save-demo-agent/build.gradle.kts

-5
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)