Skip to content

Commit

Permalink
Gradle build adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
h0tk3y committed Jul 1, 2020
1 parent 8f3e22c commit 5cf9a0b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions benchmarks/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
buildscript {
// Workaround, remove once kotlinx.benchmark build for 1.4-M2 is available
configurations["classpath"].resolutionStrategy.eachDependency {
if (requested.group == "org.jetbrains.kotlin")
useVersion(System.getProperty("build.kotlinVersion"))
}
}

plugins {
kotlin("multiplatform")
kotlin("plugin.allopen")
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ kotlin.sourceSets.commonMain {

//region Publication

val publicationsFromWindows = listOf("mingwX64")
val publicationsFromWindows = listOf("mingwX64", "mingwX86")

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

Expand Down

0 comments on commit 5cf9a0b

Please sign in to comment.