if [ -z "$SONATYPE_USER" ]
then
echo "Please define SONATYPE_USER"
exit 1
fi
if [ -z "$SONATYPE_PASSWORD" ]
echo "Please define SONATYPE_PASSWORD"
./gradlew uploadArchives && ./gradlew closeAndPromoteRepository