To publish everything use
gradle publishAllPublicationsToMavenRepository -PmavenUsername=**** -PmavenPassword=*****
URLs of repositories are moved to gradle.properties file. In this file is also library version (halcyonVersion).
gradle.properties
halcyonVersion
@bmalkow Is it possible to get the credentials from the local maven configuration?
I ended up passing the configuration directly in the build (less than ideal, but good enough for now).