Skip to content

Commit

Permalink
Remove macosX64 target as it's causing problems with IDEA 2024.1+ (#…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
0x6675636b796f75676974687562 authored Oct 31, 2024
1 parent a4c11d2 commit 877c276
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ kotlin {

// setup native compilation
linuxX64()
macosX64()

sourceSets {
sourceSets.all {
Expand Down Expand Up @@ -109,13 +108,11 @@ kotlin {
}

val linuxX64Main by getting
val macosX64Main by getting

@Suppress("UNUSED_VARIABLE")
val nativeMain by creating {
dependsOn(commonMain)
linuxX64Main.dependsOn(this)
macosX64Main.dependsOn(this)

dependencies {
implementation(libs.ktoml.core)
Expand Down
5 changes: 0 additions & 5 deletions save-demo-agent/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,13 @@ kotlin {
}
}
}
macosX64(configureNative)
linuxX64(configureNative)

sourceSets {
val macosX64Main by getting
val linuxX64Main by getting

@Suppress("UNUSED_VARIABLE")
val nativeMain by creating {
macosX64Main.dependsOn(this)
linuxX64Main.dependsOn(this)

dependencies {
Expand All @@ -51,12 +48,10 @@ kotlin {
}
}

val macosX64Test by getting
val linuxX64Test by getting

@Suppress("UNUSED_VARIABLE")
val nativeTest by creating {
macosX64Test.dependsOn(this)
linuxX64Test.dependsOn(this)
dependencies {
implementation(libs.kotlin.test)
Expand Down

0 comments on commit 877c276

Please sign in to comment.