Skip to content

Commit

Permalink
Opt-in into experimental interop (KT-57728) to fix aggregate build (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
qwwdfsad authored May 12, 2023
1 parent 1aacb04 commit c28837a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions kotlinx-coroutines-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,14 @@ kotlin.sourceSets {
}
}

kotlin.sourceSets.configureEach {
// Do not apply 'ExperimentalForeignApi' where we have allWarningsAsErrors set
if (it.name in ["jvmMain", "jsMain", "concurrentMain", "commonMain"]) return
languageSettings {
optIn('kotlinx.cinterop.ExperimentalForeignApi')
}
}

jvmTest {
minHeapSize = '1g'
maxHeapSize = '1g'
Expand Down

0 comments on commit c28837a

Please sign in to comment.