Thread
#multiplatform
    gumil

    gumil

    3 years ago
    Hi, is it safe to assume that the metadata.jar that is produced by the multiplatform plugin can be used as the compiled common sources?
    Dico

    Dico

    3 years ago
    That's correct. The metadata jar serves as the artifact for common code, and can be used as a dependency in common source sets. You will need an artifact for your target as well though.
    gumil

    gumil

    3 years ago
    thanks! It’s confusing that it’s not called common, also could not find any official documentation.
    Dico

    Dico

    3 years ago
    I agree.
    r

    r4zzz4k

    3 years ago
    I saw a discussion not long ago mentioning that it was called common at some point, but was renamed due to the fact there could be some additional stuff there in the future, so it isn't really just common code per se.
    s

    svyatoslav.scherbina

    3 years ago
    metadata.jar
    doesn’t contain compiled common sources. All it has is the common API, represented with serialized metadata.