good morning, do we have some :gradle: experts her...
# chicago
d
good morning, do we have some G experts here?
m
@Dariusz Kuc Don't know that I'm an expert, but what's your question? :)
d
been struggling with getting the publish to maven central working
mind taking a look at https://github.com/ExpediaGroup/graphql-kotlin build file to see if missed anything?
w
here is a library i have that publishes to maven central: https://github.com/wakingrufus/lib-elo
take a look at release.sh
d
thnx
mine is a multi module project
and i believe part of the problems i'm encountering is because i dont publish root artifact (i.e.
root pom
)
also found it pretty weird that
maven-publish
gradle plugin does not automatically release the artifacts from sonatype
guess they want people to use jcenter
w
lol
yeah it seems way too hard to get maven central publishing set up
d
well
maven-publish
setup wasn't that bad
its just trying to get auto release working
nexus-staging-plugin
does the close and release of staging repo
but it is not reliable if you have multiple artifacts published from some CI server
so one of the gradle devs created
nexus-publish
plugin that creates the sonatype staging repository so it can behave in consistent way
unsure why it wasnt pulled into the
maven-publish
as Maven Central is still THE most popular maven repo
// end of rant
finally got it working
w
nice
d
its looks like gradle signing plugin produces extra files over the maven build
with extra
.sha256
and
.sha512
files
guess it should be fine