Are there any documents/articles somewhere that wa...
# kotlin-native
s
Are there any documents/articles somewhere that walks a person through publishing a native library?
l
k
Publishing externally (bintray/mavencentral) has some wrinkles. Also depends on gradle version. The metadata for gradle 4.7 is 0.3 and for 4.10 is 0.4, and they are incompatible. Most of the JetBrains libraries are 4.7, but hopefully moving towards 4.10 soon as new android studio wants that. I just spent the good part of a flight wrestling with kotlinx.coroutines trying to publish on 4.10
Sqldelight publishes to mavencentral on 4.10. I started moving my libraries to that. I also have a hack of JetBrains hack of the bintray gradle plugin to publish to bintray with gradle 4.10, but that’s not pushed to my fork yet. Can do later if somebody wants
s
I went the “easier” route with 4.7 for the time being. For someone who is mostly an iOS dev, the least amount of Gradle I can do, the better. It is frustrating to lose a day of productivity trying to work out odd Gradle issues. It took a couple hours to figure out how to get the the Bintray Plugin to upload all of the artifacts and not just the Pom file. Thanks for the help. I’m sure I would still be struggling through this without it.