I’m trying to publish my library using jitpack but...
# kotlin-native
a
I’m trying to publish my library using jitpack but it uses linux for CI build and prints
Copy code
Some Kotlin/Native targets cannot be built on this linux_x64 machine and are disabled:
    * In project ':summer':
        * targets 'iosArm64', 'iosX64' (can be built with a macos_x64 host)
To hide this message, add 'kotlin.native.ignoreDisabledTargets=true' to the Gradle properties.
on build. Can I configure jitpack to build K/N in another way or which service should I use to publish K/N artifacts?
s
Bintray would probably be a better option.
a
No, I raised an issue a while ago to add support for MPP: https://github.com/jitpack/jitpack.io/issues/3853
a
@serebit Thank you! Bintray works for me. But can I publish experemental gradle metadata there? It has not been published by default 🤔
s
Yes, but you'll need to use the base maven-publish plugin instead of the Bintray plugin. I have an example of this in https://gitlab.com/serebit/logkat, files of note are
build.gradle.kts
and
buildSrc/src/Extensions.kt
a
@serebit Works well for me. Thank you very much!