Skip to content

Fix atomicfu post-processing and dependencies #1120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 21, 2019
Merged

Conversation

elizarov
Copy link
Contributor

@elizarov elizarov commented Apr 19, 2019

  • Update to atomicfu 0.12.4, which fixes plugin operation with
    kotlin-multiplatform
  • Remove explicit dependencies (plugins adds them automatically)
  • There will be no atomicfu dependency in the resulting artefacts

Fixes #1116
Fixes #1064

caarmen added a commit to caarmen/poet-assistant that referenced this pull request Apr 21, 2019
* Update to atomicfu 0.12.4, which fixes plugin operation with
  kotlin-multiplatform
* Remove explicit dependencies (plugins adds them automatically)

Fixes #1116
Fixes #1064
@elizarov elizarov merged commit e1ac2e5 into develop Apr 21, 2019
@elizarov elizarov deleted the atomicfu-fix branch April 21, 2019 15:52
@steve-the-edwards
Copy link
Contributor

steve-the-edwards commented May 29, 2019

I am still getting this Gradle Plugin error:

kotlinx.atomicfu.AtomicFU: can't find referenced method 'void setInterceptor(kotlinx.atomicfu.AtomicOperationInterceptor)' in program class kotlinx.atomicfu.InterceptorKt

This is while using kotlinx-coroutines-core and kotlinx-coroutines-android in both shared Kotlin library included as .aar and in application project itself.

I tried explicit includes like the following:

implementation "org.jetbrains.kotlinx:kotlinx-serialization-runtime:$serialization_version"
    implementation "org.jetbrains.kotlinx:atomicfu:0.12.4"
    implementation "org.jetbrains.kotlinx:atomicfu-common:0.12.4"
    implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.1"
    implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.2.1'

Still no luck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants