Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Nek-12 committed Dec 25, 2023
1 parent f4684f1 commit 168c9c7
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 28 deletions.
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ buildscript {
}
}


allprojects {
group = Config.artifactId
version = Config.versionName
Expand Down
54 changes: 27 additions & 27 deletions buildSrc/src/main/kotlin/ConfigureMultiplatform.kt
Original file line number Diff line number Diff line change
Expand Up @@ -41,33 +41,33 @@ fun Project.configureMultiplatform(

if (jvm) jvm()

sequence {
if (iOs) {
yield(iosX64())
yield(iosArm64())
yield(iosSimulatorArm64())
}
if (macOs) {
yield(macosArm64())
yield(macosX64())
}
if (tvOs) {
yield(tvosX64())
yield(tvosArm64())
yield(tvosSimulatorArm64())
}
if (watchOs) {
yield(watchosX64())
yield(watchosArm64())
yield(watchosDeviceArm64())
yield(watchosSimulatorArm64())
}
}.forEach {
it.binaries.framework {
binaryOption("bundleId", Config.artifactId)
binaryOption("bundleVersion", Config.versionName)
baseName = Config.artifactId
}
sequence {
if (iOs) {
yield(iosX64())
yield(iosArm64())
yield(iosSimulatorArm64())
}
if (macOs) {
yield(macosArm64())
yield(macosX64())
}
if (tvOs) {
yield(tvosX64())
yield(tvosArm64())
yield(tvosSimulatorArm64())
}
if (watchOs) {
yield(watchosX64())
yield(watchosArm64())
yield(watchosDeviceArm64())
yield(watchosSimulatorArm64())
}
}.forEach {
it.binaries.framework {
binaryOption("bundleId", Config.artifactId)
binaryOption("bundleVersion", Config.versionName)
baseName = Config.artifactId
}
}

sourceSets.apply {
Expand Down

0 comments on commit 168c9c7

Please sign in to comment.