Minio Java SDK uses gradle build system.
Go through Maintainer Responsibility Guide.
Fork minio-java source repository to your own personal repository.
$ git clone https://github.com/$USER_ID/minio-java
$ cd minio-java
Run runFunctionalTest
gradle task to build and verify the SDK.
$ ./gradlew runFunctionalTest
Create a new gradle properties file
$ cat gradle.properties > ${HOME}/.gradle/gradle.properties <<EOF
signing.keyId=76A57749
signing.password=**REDACTED**
signing.secretKeyRingFile=/home/harsha/.gnupg/secring.gpg
ossrhUsername=minio
ossrhPassword=**REDACTED**
release=true
EOF
$ gpg --import minio.asc
$ ./gradlew uploadArchives
$ rm -v ${HOME}/.gradle/gradle.properties