Open pun-ky opened 6 years ago
Is this solved?
The Gradle bundled maven-publish
plugin has seen an extreme performance increase thanks to parellelization in Gradle 5.6, and can be used to publish on bintray. It works perfectly with Gradle Kotlin DSL, and publishes Gradle metadata correctly.
See an example of how I configure it for bintray here: https://github.com/LouisCAD/Splitties/blob/eae2e08224232b5b930a1370f07bce850ddc225f/buildSrc/src/main/kotlin/publishing/Publishing.kt#L99-L115
@jmfayard nothing released since 1.8.14 @ Jul 8, 2018 ... so rather not
Currently to use bintray extension with Kotlin DSL which is coming officially released within next days, there is a need to apply some workarounds instead of writing well formed DSL code.
See:
pkg
,version
method accepts only groovyClosure
but should accept Kotlin lambda with receiver (so thatwith
used as workarounduser
property could be set but IntelliJ reports some problemlicenses
,labels
could be only set when calling explicitly settersPlease update plugin so that it will more nicely support also Gradle builds written in build.gradle.kts files.
Greetings!