Skip to content

Commit

Permalink
fix: パブリッシュ用カスタムプラグインの修正
Browse files Browse the repository at this point in the history
  • Loading branch information
cotrin8672 committed Mar 25, 2024
1 parent 9238cf6 commit eb7e387
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build-logic/convention/src/main/kotlin/PublishConvention.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@ class PublishConvention : Plugin<Project> {
with(pluginManager) {
apply(libs.gradleMavenPublishPluginId)
}
}
target.afterEvaluate {
extensions.configure<MavenPublishBaseExtension> {
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, automaticRelease = false)
signAllPublications()

coordinates(
rootProject.group.toString(),
"kotlin-${project.name}",
version.toString()
project.version.toString()
)

pom {
Expand Down

0 comments on commit eb7e387

Please sign in to comment.