Skip to content
This repository was archived by the owner on Aug 16, 2025. It is now read-only.

Commit 75044bf

Browse files
committed
fix output according to buildType.name
1 parent 0d0c886 commit 75044bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ android {
138138
applicationVariants.all {
139139
resValue("string", "applicationId", applicationId)
140140

141-
if (name == "nightly" || name == "debug") {
141+
if (buildType.name == "nightly" || buildType.name == "debug") {
142142
outputs.forEach { output ->
143143
output as com.android.build.gradle.internal.api.ApkVariantOutputImpl
144144
output.versionCodeOverride = gitVersion

0 commit comments

Comments
 (0)