Skip to content

Commit cc257e5

Browse files
committed
publishing fixes
1 parent a92b201 commit cc257e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import com.vanniktech.maven.publish.SonatypeHost
12
import fr.brouillard.oss.jgitver.Strategies
23

34
plugins {
@@ -8,6 +9,7 @@ plugins {
89
alias(libs.plugins.dokka)
910
alias(libs.plugins.mkdocs)
1011
alias(libs.plugins.jgitver)
12+
id("maven-publish")
1113
}
1214

1315
group = "dev.sargunv.pokekotlin"
@@ -55,6 +57,8 @@ publishing {
5557
}
5658

5759
mavenPublishing {
60+
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, automaticRelease = true)
61+
signAllPublications()
5862
pom {
5963
name = "PokeKotlin"
6064
description = "Kotlin client for The Pokémon API"

0 commit comments

Comments
 (0)