From 2465b6c7ecfd58c8fcad56562bbd8476f91f2821 Mon Sep 17 00:00:00 2001 From: Leon Kiefer Date: Mon, 25 Mar 2024 16:21:52 +0100 Subject: [PATCH] Setup convention-plugins correctly --- .github/workflows/publish.yml | 2 +- build.gradle.kts | 2 ++ settings.gradle.kts | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6cf6a4e4..cd380700 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 2d7d552d..e0626f9e 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 7ca76bc4..de6f7679 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1 +1,3 @@ rootProject.name = "typescriptpoet" + +includeBuild("convention-plugins")