From a2ed893324d54c1289c5e36899e5725ed85bcf39 Mon Sep 17 00:00:00 2001 From: Ravi Patel <82118011+rpatel-figure@users.noreply.github.com> Date: Wed, 16 Nov 2022 17:54:43 -0600 Subject: [PATCH] Add back Maven signing extension config (#2) --- buildSrc/src/main/kotlin/publish-kotlin-library.gradle.kts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/buildSrc/src/main/kotlin/publish-kotlin-library.gradle.kts b/buildSrc/src/main/kotlin/publish-kotlin-library.gradle.kts index 1cd5296..4d743e2 100644 --- a/buildSrc/src/main/kotlin/publish-kotlin-library.gradle.kts +++ b/buildSrc/src/main/kotlin/publish-kotlin-library.gradle.kts @@ -84,5 +84,10 @@ subprojects { } } } + if (!System.getenv("DISABLE_SIGNING").toBoolean()) { + configure { + sign(publications["maven"]) + } + } } }