Thread
#multiplatform
    Trevor Stone

    Trevor Stone

    11 months ago
    I'm trying out Kotlin 1.6.0-RC to make sure my project builds. It's a multimodule project where there are some modules that support Android where most others are just jvm. The top level modules have both jvm and android library projects. I've changed nothing else except updating to kotlin 1.6.0-RC and am now getting a compile-time error
    The consumer was configured to find an API of a library compatible with Java 16, preferably in the form of class files, preferably optimized for standard JVMs, and its dependencies declared externally. However we cannot choose between the following variants of project :abc:xyz:
              - debugApiElements
              - debugRuntimeElements
              - jvmApiElements
              - jvmRuntimeElements
              - releaseApiElements
              - releaseRuntimeElements
    If I disable android support from the project it builds without issue. It has been working fine on kotlin 1.5.31. Am I missing something that was a breaking change?
    Trevor Stone

    Trevor Stone

    11 months ago
    Perfect! Glad to see I'm not alone and it looks intended to be resolved before release. I appreciate you finding and linking these
    sam

    sam

    11 months ago
    Yep and they're going to release RC2 it looks like to fix this.