https://kotlinlang.org logo
#android
Title
# android
s

Suraj Shah

07/15/2019, 10:54 AM
Is the
maven_push.gradle
by Chris Banes still a good way to push aars to maven central? Also, https://github.com/quiph/RecyclerView-FastScroller
👌 1
❤️ 1
j

jw

07/15/2019, 1:18 PM
"If it ain't broke..." as they say
s

Suraj Shah

07/15/2019, 2:34 PM
Agreed @jw. Also, what do you prefer? 1. jcenter -> maven central 2. sonatype nexus -> maven central or are they both the same? i feel one should take 1 if they wish to keep the aar hosted on jcenter as well, but not sure.
j

jw

07/15/2019, 2:35 PM
jcenter proxies maven central so releasing directly to maven central doesn't prevent your artifact from being consumed through it
s

Suraj Shah

07/15/2019, 2:35 PM
oh. did not know that. thank you.
s

Sergey Chelombitko

07/15/2019, 4:40 PM
@suraj I made a plugin for that some time ago https://github.com/technoir42/aar-publish-plugin. It's designed to be used together with
maven-publish
. One advantage over gradle-mvn-push is that
maven-publish
automatically registers a task which publishes to mavenLocal. The plugin is also variant-aware so if you have any variant-specific sources they will be included in sources jar.
s

Suraj Shah

07/15/2019, 5:07 PM
@Sergey Chelombitko very interesting, i'll keep this in mind for the next release. thanks.
@Gil Goldzweig there's a todo section in the end, which is basically making the fast-scroller work in horizontal direction, if you wish to contribute.
g

Gil Goldzweig

07/16/2019, 12:54 PM
Asked a followup question on the opened issue
👍 1
2 Views