This is a sample project aimed at demonstrating publishing to Sonatype Central using the plugin available at:
Plugin portal : https://plugins.gradle.org/plugin/eu.kakde.gradle.sonatype-maven-central-publisher
Source code: https://github.com/ani2fun/sonatype-maven-central-publisher
Some useful commands:
./gradlew :plugin-demo:clean
./gradlew :plugin-demo:publishToSonatype
./gradlew :plugin-demo:getDeploymentStatus -PdeploymentId=<Deployment-ID>
./gradlew :plugin-demo:tasks
Note
You can explore published projects utilizing the plugin by visiting the following link: https://repo1.maven.org/maven2/eu/kakde/plugindemo/