diff --git a/demo-app/build.gradle.kts b/demo-app/build.gradle.kts index 618fbcf..ac6dc3d 100644 --- a/demo-app/build.gradle.kts +++ b/demo-app/build.gradle.kts @@ -55,7 +55,11 @@ androidComponents { onVariants(selector().all()) { it.outputs.forEach { output -> val currentType = it.buildType - val currentSuffix = gropify.github.ci.commit.id.let { suffix -> + + // Workaround for GitHub Actions. + // Strongly transfer type to [String]. + @Suppress("UNNECESSARY_SAFE_CALL") + val currentSuffix = gropify.github.ci.commit.id?.let { suffix -> if (suffix.isNotBlank()) "-$suffix" else "" } val currentVersion = "${output.versionName.get()}$currentSuffix(${output.versionCode.get()})" diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 360ce57..9e53758 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -agp = "8.13.1" +agp = "8.13.2" kotlin = "2.2.21" ksp = "2.2.21-2.0.4" flexi-locale = "1.0.2" @@ -7,12 +7,12 @@ project-promote = "1.0.1" rovo89-xposed-api = "82" yukihookapi = "1.3.1" kavaref-core = "1.0.2" -kavaref-extension = "1.0.1" +kavaref-extension = "1.0.2" microsoft-appcenter = "5.0.6" libsu = "5.2.2" drawabletoolbox = "1.0.7" gson = "2.13.2" -okhttp = "5.3.0" +okhttp = "5.3.2" androidx-core-ktx = "1.17.0" androidx-appcompat = "1.7.1" material = "1.13.0" diff --git a/module-app/build.gradle.kts b/module-app/build.gradle.kts index cc69ca6..a110ead 100644 --- a/module-app/build.gradle.kts +++ b/module-app/build.gradle.kts @@ -51,7 +51,11 @@ androidComponents { onVariants(selector().all()) { it.outputs.forEach { output -> val currentType = it.buildType - val currentSuffix = gropify.github.ci.commit.id.let { suffix -> + + // Workaround for GitHub Actions. + // Strongly transfer type to [String]. + @Suppress("UNNECESSARY_SAFE_CALL") + val currentSuffix = gropify.github.ci.commit.id?.let { suffix -> if (suffix.isNotBlank()) "-$suffix" else "" } val currentVersion = "${output.versionName.get()}$currentSuffix(${output.versionCode.get()})"