Publish JVM Library to Maven Central with Gradle (2025 Guide)

Опубликовано: 31 Август 2026
на канале: Develocity
3,536
63

Learn how to publish your JVM library to Maven Central using a Gradle community plugin, compatible with the 2025 updates to the Maven Central publishing process.

We go over key prerequisites that include setting up a Maven Central account and namespace, and creating a GPG public/private key pair for required artifact signing and verification. We then go over the essential configuration you need to apply to enabling publishing, including providing POM file values.

We use the Gradle Maven Publish Plugin in this demo.
GitHub: https://github.com/vanniktech/gradle-...
Docs: https://vanniktech.github.io/gradle-m...

You can read more about the updates to the Maven Central publishing process and other community plugins available at https://cookbook.gradle.org/integrati....

Level up your Gradle skills by taking FREE training courses at https://dpeuniversity.gradle.com

00:00:00 - Introduction
00:00:59 - Account & Namespace
00:01:34 - GPG Key Pair
00:02:13 - Plugin Configuration
00:03:57 - Provide Credentials
00:05:44 - Publishing
00:06:37 - FREE training available at DPEU