- Update
~/.gradle/gradle/properties
with :
sonatypeUser=<user id>
sonatypePassword=<password>
-
Update
build.gradle.kts
and changeversion
to a released version -
Now from command prompt the following three commands can be executed to do a release:
./gradlew clean assemble publish
Then go to the repository to close and release the distribution.