https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
l

louiscad

06/30/2019, 10:29 PM
Publishing a multi-modules (40+) multiplatform library to bintray using the
maven-publish
Gradle plugin be-like:
BUILD SUCCESSFUL in 41m 15s
1866 actionable tasks: 1247 executed, 432 from cache, 187 up-to-date
Before, I was using bintray gradle plugin, (plus didn't support Kotlin/Native in 3 modules that now support iOS and macOS) and the compilation + upload was taking 2-3 minutes on a equally fast internet connection. Now I'm looking for setting up a free CI for open source projects that would do it on command for me, off my laptop, so I can keep working on the codebase while publishing a version (that might still be useful after the state of
maven-publish
and Kotlin/Native compilation speed improves). Recommandations are welcome!
p

pardom

06/30/2019, 10:51 PM
Travis is pretty popular; it's what I use.
b

basher

07/01/2019, 12:38 AM
I use Azure for https://github.com/benasher44/uuid. Nice because windows support is good, and works well for Mac and Linux envs too
👍 1
Deploys every time I merge master
j

jw

07/01/2019, 1:27 AM
I would also choose Azure and we'll probably wind up moving the Square stuff there.
👍 1
e

elizarov

07/01/2019, 9:38 AM
It has nothing to do with the platform you upload to.
maven-publish
is just that, very slow.
🐌 1
😮 2
The rumor says Gradle 5.6.1 fixed it.
l

louiscad

07/01/2019, 10:06 PM
@elizarov Why 5.6.1 that has not been released yet? Isn't it set to be fixed in 5.6 RC1 that should be available in less than 3 weeks?
e

elizarov

07/01/2019, 10:08 PM
5.6 RC1 that is
l

louiscad

07/29/2019, 1:21 AM
@elizarov I see you use TeamCity "the Hassle-Free CI & CD Server by JetBrains" for kotlinx.coroutines. Did you choose it solely because it's a JetBrains project, or was there other factors at play? If so, I'd like to know them. Configuring CI with a Kotlin DSL sounds more appealing than YAML in Azure, Travis or other CI competitors, but I wouldn't want to get drawbacks.
FYI, Gradle 5.6 RC1 has been released today! Will compare soon.