diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6cf6a4e..cd38070 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -33,6 +33,6 @@ jobs: with: job-id: jdk8-build-test arguments: >- - publishMavenPublicationToMavenLocal --max-workers 1 closeAndReleaseSonatypeStagingRepository + publishAllPublicationsToSonatypeRepository --max-workers 1 closeAndReleaseSonatypeStagingRepository properties: | releaseVersion=${{ steps.tagName.outputs.tag }} diff --git a/build.gradle.kts b/build.gradle.kts index 2d7d552..e0626f9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -10,6 +10,8 @@ plugins { id("org.jetbrains.dokka") version "1.9.20" id("org.jmailen.kotlinter") version "4.3.0" + + id("convention.publication") } diff --git a/settings.gradle.kts b/settings.gradle.kts index 7ca76bc..de6f767 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1 +1,3 @@ rootProject.name = "typescriptpoet" + +includeBuild("convention-plugins")