Enable automatic release for Maven Central publishing (#1286)

Sets 'automaticRelease' to true in the publishToMavenCentral configuration to automate the release process when publishing to Maven Central.
This commit is contained in:
Stef Tervelde
2025-10-15 22:56:23 +02:00
committed by GitHub
parent 2a5341b52f
commit 7283c99271
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ publishing{
}
mavenPublishing{
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, automaticRelease = true)
// Only sign if signing is set up
if(project.hasProperty("signing.keyId") || project.hasProperty("signingInMemoryKey"))