Skip to content

Commit ea68a94

Browse files
committed
Enable automatic release for Maven Central publishing
Sets 'automaticRelease' to true in the publishToMavenCentral configuration to automate the release process when publishing to Maven Central.
1 parent 2a5341b commit ea68a94

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

core/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ dependencies {
3636
}
3737

3838
mavenPublishing{
39-
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
39+
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, automaticRelease = true)
4040
signAllPublications()
4141

4242
pom{

java/preprocessor/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ publishing{
4747
}
4848

4949
mavenPublishing{
50-
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
50+
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, automaticRelease = true)
5151

5252
// Only sign if signing is set up
5353
if(project.hasProperty("signing.keyId") || project.hasProperty("signingInMemoryKey"))

0 commit comments

Comments
 (0)