Skip to content

Commit bfa6ba2

Browse files
h0tk3yelizarov
authored andcommitted
Fix issues with HMPP
1. Use the atomicfu root MPP module dependency, 'atomicfu-native' 2. Enable compatibility metadata variant publishing for consumers without HMPP 3. Enable Gradle module metadata needed for HMPP to resolve dependencies properly
1 parent 5690aeb commit bfa6ba2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

gradle.properties

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,5 @@ jekyll_version=4.0
5151
# TODO: Remove once KT-37187 is fixed
5252
org.gradle.jvmargs=-Xmx2g
5353

54-
kotlin.mpp.enableGranularSourceSetsMetadata=true
54+
kotlin.mpp.enableGranularSourceSetsMetadata=true
55+
kotlin.mpp.enableCompatibilityMetadataVariant=true

kotlinx-coroutines-core/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ kotlin {
6060
dependencies {
6161
// todo: we should not need it
6262
// todo: it must be compileOnly or JVM is spoiled !!!
63-
implementation "org.jetbrains.kotlinx:atomicfu-common:$atomicfu_version"
63+
implementation "org.jetbrains.kotlinx:atomicfu-native:$atomicfu_version"
6464
}
6565
}
6666
}

0 commit comments

Comments
 (0)