From d145fbc5ccba33a111b6188770aed138e2e6d3b8 Mon Sep 17 00:00:00 2001 From: MD <1917406+mdcfe@users.noreply.github.com> Date: Tue, 31 Aug 2021 21:27:35 +0100 Subject: [PATCH] Require forceSign property even on releases --- .../src/main/kotlin/essentials.base-conventions.gradle.kts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-logic/src/main/kotlin/essentials.base-conventions.gradle.kts b/build-logic/src/main/kotlin/essentials.base-conventions.gradle.kts index 3f058721f..48c7ce4a5 100644 --- a/build-logic/src/main/kotlin/essentials.base-conventions.gradle.kts +++ b/build-logic/src/main/kotlin/essentials.base-conventions.gradle.kts @@ -70,6 +70,9 @@ tasks { withType { archiveVersion.set(rootProject.ext["FULL_VERSION"] as String) } + withType { + onlyIf { project.hasProperty("forceSign") } + } } // Dependency caching