https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
s

Skolson5903

11/22/2020, 1:39 AM
Saw 1.4.20 is out, tried upgrading a project from 1.4.20-RC that also uses the kotlinx atomic plugin
Copy code
buildscript {
        ...
        classpath("org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.14.4")
    }
Module build.gradle.kts:
Copy code
plugins {
        ...
        id("kotlinx-atomicfu")
     }
After the upgrade the IDE (Android Studio 4.1) shows this import in error, but gradle build still works:
Copy code
import kotlinx.atomicfu.atomic
In the IDE, the ending "atomic" is red as if it isn't in the dependencies, but gradle builds OK and tests run. Previously I had seen IDE-bad vs Gradle-good build issues in this project on the "java" package, but adding this to gradle.properties fixed that:
Copy code
kotlin.mpp.enableGranularSourceSetsMetadata=true
That option is still set and doesn't help this new atomic issue. Anyone else seen this with 1.4.20? I'm still researching. Thanks in advance for any info...
k

kenkyee

11/22/2020, 2:03 AM
Scroll up... It's not ready yet
s

Skolson5903

11/22/2020, 2:13 AM
Oh well, I was hoping for something simple since IDE was happy with 1.40.20-RC. Thanks!
3 Views