Skip to content

Commit 5cf9a0b

Browse files
committed
Gradle build adjustments
1 parent 8f3e22c commit 5cf9a0b

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

benchmarks/build.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
buildscript {
2+
// Workaround, remove once kotlinx.benchmark build for 1.4-M2 is available
3+
configurations["classpath"].resolutionStrategy.eachDependency {
4+
if (requested.group == "org.jetbrains.kotlin")
5+
useVersion(System.getProperty("build.kotlinVersion"))
6+
}
7+
}
8+
19
plugins {
210
kotlin("multiplatform")
311
kotlin("plugin.allopen")

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ kotlin.sourceSets.commonMain {
9090

9191
//region Publication
9292

93-
val publicationsFromWindows = listOf("mingwX64")
93+
val publicationsFromWindows = listOf("mingwX64", "mingwX86")
9494

9595
val publicationsFromMacos =
96-
kotlin.targets.withType(org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget::class).names.filter {
96+
kotlin.targets.names.filter {
9797
it.startsWith("macos") || it.startsWith("ios") || it.startsWith("watchos") || it.startsWith("tvos")
9898
}
9999

0 commit comments

Comments
 (0)