From dd16768344902284f44ec54e92a89a35cc185f8e Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Thu, 14 Sep 2023 16:48:11 +0200 Subject: [PATCH] refactor(buildSrc): Decouple publishing from Kotlin conventions This allows to also publish non-Kotlin projects, like platform projects. Signed-off-by: Sebastian Schuberth --- .../src/main/kotlin/ort-application-conventions.gradle.kts | 1 + buildSrc/src/main/kotlin/ort-library-conventions.gradle.kts | 1 + .../src/main/kotlin/ort-publication-conventions.gradle.kts | 3 --- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/buildSrc/src/main/kotlin/ort-application-conventions.gradle.kts b/buildSrc/src/main/kotlin/ort-application-conventions.gradle.kts index 8f72157429662..98358a1c333a2 100644 --- a/buildSrc/src/main/kotlin/ort-application-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/ort-application-conventions.gradle.kts @@ -27,6 +27,7 @@ plugins { application // Apply precompiled plugins. + id("ort-kotlin-conventions") id("ort-publication-conventions") // Apply third-party plugins. diff --git a/buildSrc/src/main/kotlin/ort-library-conventions.gradle.kts b/buildSrc/src/main/kotlin/ort-library-conventions.gradle.kts index 9a9fc0ea5283d..9b43fe45d5a63 100644 --- a/buildSrc/src/main/kotlin/ort-library-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/ort-library-conventions.gradle.kts @@ -22,5 +22,6 @@ plugins { `java-library` // Apply precompiled plugins. + id("ort-kotlin-conventions") id("ort-publication-conventions") } diff --git a/buildSrc/src/main/kotlin/ort-publication-conventions.gradle.kts b/buildSrc/src/main/kotlin/ort-publication-conventions.gradle.kts index 46538a92ac106..425739dd7a00d 100644 --- a/buildSrc/src/main/kotlin/ort-publication-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/ort-publication-conventions.gradle.kts @@ -21,9 +21,6 @@ plugins { // Apply core plugins. `maven-publish` signing - - // Apply precompiled plugins. - id("ort-kotlin-conventions") } configure {