https://vanniktech.github.io/gradle-maven-publish-plugin/central/
-
Credentials should be configured in a gradle.properties file (in user home)
-
./gradlew publishAllPublicationsToMavenCentral --no-configuration-cache
-
./gradlew closeAndReleaseRepository