bintray / gradle-bintray-plugin

Apache License 2.0
1.28k stars 197 forks source link

Kotlin DSL support #258

Open pun-ky opened 6 years ago

pun-ky commented 6 years ago

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:

image

Please update plugin so that it will more nicely support also Gradle builds written in build.gradle.kts files.

Greetings!

jmfayard commented 5 years ago

Is this solved?

LouisCAD commented 5 years ago

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

pun-ky commented 5 years ago

@jmfayard nothing released since 1.8.14 @ Jul 8, 2018 ... so rather not