https://kotlinlang.org logo
Title
n

napperley

07/23/2020, 3:08 AM
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

serebit

07/23/2020, 4:33 AM
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

napperley

07/23/2020, 5:09 AM
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

msink

07/23/2020, 9:03 AM
Maybe because https://github.com/gradle/gradle/issues/11412 still not fixed.
👍 1
s

serebit

07/23/2020, 2:05 PM
Yeah, there's a workaround in that issue.