From 5651618506403caf0c5b6d1a3eaceabf356db13e Mon Sep 17 00:00:00 2001 From: fankesyooni Date: Sat, 4 Nov 2023 03:52:36 +0800 Subject: [PATCH] chore: bump plugin versions - bump "com.highcapable.sweetdependency" version to 1.0.3 - bump "com.highcapable.sweetproperty" version to 1.0.4 --- app/build.gradle.kts | 2 +- settings.gradle.kts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index e999c61..f0666c7 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -58,7 +58,7 @@ androidComponents { onVariants(selector().all()) { it.outputs.forEach { output -> val currentType = it.buildType - val currentSuffix = property.github.ci.commit.id?.let { suffix -> if (suffix.isNotBlank()) "-$suffix" else "" } ?: "" + val currentSuffix = property.github.ci.commit.id.let { suffix -> if (suffix.isNotBlank()) "-$suffix" else "" } val currentVersion = "${output.versionName.get()}$currentSuffix(${output.versionCode.get()})" if (output is com.android.build.api.variant.impl.VariantOutputImpl) output.outputFileName.set("${property.project.name}-v$currentVersion-$currentType.apk") diff --git a/settings.gradle.kts b/settings.gradle.kts index 6470705..8ed99bf 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -6,8 +6,8 @@ pluginManagement { } } plugins { - id("com.highcapable.sweetdependency") version "1.0.2" - id("com.highcapable.sweetproperty") version "1.0.3" + id("com.highcapable.sweetdependency") version "1.0.3" + id("com.highcapable.sweetproperty") version "1.0.4" } sweetProperty { global {