Skip to content

Commit 3048649

Browse files
authored
Switch to publish to Maven Central (#299)
1 parent 5f300b5 commit 3048649

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Publish
2929
run: |
3030
./gradlew \
31-
publishToMavenCentral \
31+
publishAndReleaseToMavenCentral \
3232
publishPlugins \
3333
--no-configuration-cache \
3434
-Dorg.gradle.internal.http.socketTimeout=120000 \

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ kotlin {
8383
}
8484

8585
mavenPublishing {
86-
publishToMavenCentral(SonatypeHost.S01)
86+
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, automaticRelease = true)
8787
signAllPublications()
8888
pom {
8989
name.set(ProjectInfo.NAME)

0 commit comments

Comments
 (0)