Skip to content

Commit 7283c99

Browse files
authored
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.
1 parent 2a5341b commit 7283c99

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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)