Skip to content

Commit b7ce32a

Browse files
committed
Enable Maven Central publishing for audioplayer
The module configured coordinates and POM but never called publishToMavenCentral(), so the vanniktech plugin did not create the publishAndReleaseToMavenCentral task and the release workflow silently published only :mediaplayer. Also sign publications in CI like mediaplayer.
1 parent c369c1c commit b7ce32a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

audioplayer/build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,11 @@ mavenPublishing {
135135
url.set("https://github.com/kdroidFilter/Compose-Media-Player")
136136
}
137137
}
138+
139+
publishToMavenCentral()
140+
141+
// Only sign publications in CI environments to avoid requiring local GPG signing setup.
142+
if (System.getenv("CI") != null) {
143+
signAllPublications()
144+
}
138145
}

0 commit comments

Comments
 (0)