The 2020 State of the Software Supply Chain Report is available!

Study Shows High-Performance Dev Teams Fix OSS Vulns 26x Faster | Press Release

blog-logo Sonatype Blog

How to publish your Gradle project to the Central Repository

November 14, 2011 By Terry Bernstein

Sonatype makes it easy to add your projects to the Central Repository with a free, public hosting service called OSSRH, that we recently wrote about here. Many developers have found this a very useful service and easy to use with Apache Maven. However, if you've started using Gradle, you may have wondered if you could continue using the service. The answer is absolutely YES.

We were talking about creating a guide for this, but someone in the community beat us to it. Yennick Trevels published an excellent guide in his blog that you can find here. We highly recommend checking out his post if you want to use Gradle to deploy artifacts to the Central Repository.

Tags: Nexus Repo Reel, Gradle, Sonatype Says, Everything Open Source, Community

Written by Terry Bernstein

Terry is the former Director of Product Marketing at Sonatype. He is now the Director of Product Management at Verisign.