From 4dd8241fa1ef5fddfda82e7b3fc8736876009d63 Mon Sep 17 00:00:00 2001 From: Zane Schepke Date: Sat, 27 Jul 2024 22:34:07 -0400 Subject: [PATCH] fix: nightly check --- buildSrc/src/main/kotlin/Extensions.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/kotlin/Extensions.kt b/buildSrc/src/main/kotlin/Extensions.kt index 687b731..7eb5a5d 100644 --- a/buildSrc/src/main/kotlin/Extensions.kt +++ b/buildSrc/src/main/kotlin/Extensions.kt @@ -47,7 +47,7 @@ fun Project.isReleaseBuild(): Boolean { } fun Project.isNightlyBuild(): Boolean { - return gradle.startParameter.taskNames.contains("assembleFdroidNightly") + return gradle.startParameter.taskNames.contains("Nightly") } fun Project.getSigningProperties() : Properties { @@ -81,7 +81,7 @@ fun Project.getSigningProperty(property: String) : String { } fun Project.signingConfigName() : String { - return if(getSigningProperty(Constants.KEY_PASS_VAR) == "") Constants.DEBUG else Constants.RELEASE + return if(getSigningProperty(Constants.KEY_PASS_VAR).isBlank()) Constants.DEBUG else Constants.RELEASE }