From b9f5dd69735619195889b4ad928cc987f688228b Mon Sep 17 00:00:00 2001 From: Alex <40795980+AlexProgrammerDE@users.noreply.github.com> Date: Sun, 2 Jun 2024 10:16:19 +0200 Subject: [PATCH] Disable code signing for Jitpack (#813) * Disable code signing on release I'm doing the same thing in SkinsRestorer: https://github.com/SkinsRestorer/SkinsRestorer/blob/b7baa862d853764f7cfa2b5096af5cc921fcec85/buildSrc/src/main/kotlin/sr.base-logic.gradle.kts#L87-L89 * Update buildSrc/src/main/kotlin/mcprotocollib.base-conventions.gradle.kts Co-authored-by: Kas-tle <26531652+Kas-tle@users.noreply.github.com> --------- Co-authored-by: Kas-tle <26531652+Kas-tle@users.noreply.github.com> --- .../main/kotlin/mcprotocollib.base-conventions.gradle.kts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/buildSrc/src/main/kotlin/mcprotocollib.base-conventions.gradle.kts b/buildSrc/src/main/kotlin/mcprotocollib.base-conventions.gradle.kts index 0a8652f9..6f0911c7 100644 --- a/buildSrc/src/main/kotlin/mcprotocollib.base-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/mcprotocollib.base-conventions.gradle.kts @@ -18,6 +18,11 @@ indra { } } +if (System.getenv("JITPACK") == "true") { + tasks.withType().configureEach { + onlyIf { false } + } +} lombok { version = libs.versions.lombok.version.get() }