Skip to content

Commit bb21e8e

Browse files
committed
Ignore adding additional optIns also for "jvmCoreMain" source set
After changes required for https://youtrack.jetbrains.com/issue/KT-57292/Rework-configuration-of-compiler-settings-in-MPP-Projects consistency checks were move later in configuration phase. Now they started also catch inconsistency between "jvmMain" and "jvmCoreMain" source sets.
1 parent e0dd277 commit bb21e8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kotlinx-coroutines-core/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ kotlin.sourceSets {
233233

234234
kotlin.sourceSets.configureEach {
235235
// Do not apply 'ExperimentalForeignApi' where we have allWarningsAsErrors set
236-
if (it.name in ["jvmMain", "jsMain", "concurrentMain", "commonMain"]) return
236+
if (it.name in ["jvmMain", "jvmCoreMain", "jsMain", "concurrentMain", "commonMain"]) return
237237
languageSettings {
238238
optIn('kotlinx.cinterop.ExperimentalForeignApi')
239239
optIn('kotlin.experimental.ExperimentalNativeApi')

0 commit comments

Comments
 (0)