Noticed when trying to upload a Kotlin Native libr...
# gradle
n
Noticed when trying to upload a Kotlin Native library to Bintray that the version is created but there are no files. What is needed in a build.gradle.kts file to include the missing files?
s
I assume you're using the Bintray Gradle plugin—when using Kotlin multiplatform, you'll want to use the maven-publish plugin instead. If you need an example of a project that has a valid maven-publish configuration for Bintray and publishes native artifacts, you can check out my project https://gitlab.com/serebit/logkat.
👍 1
n
Keep on getting a HTTP 404 from the Bintray server.
Managed to get the library published however three empty versions were uploaded.
Publishing now works as expected although the multiple packages uploaded to Bintray is weird.
m
Maybe because https://github.com/gradle/gradle/issues/11412 still not fixed.
👍 1
s
Yeah, there's a workaround in that issue.