Skip to content

Commit

Permalink
fix release filename
Browse files Browse the repository at this point in the history
  • Loading branch information
AuTsing committed Jun 19, 2024
1 parent 113a16f commit 65c83f6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import com.android.build.gradle.internal.api.BaseVariantOutputImpl
import com.android.build.gradle.internal.cxx.configure.gradleLocalProperties

plugins {
Expand Down Expand Up @@ -65,6 +66,13 @@ android {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
}
}

applicationVariants.all {
outputs.map { it as BaseVariantOutputImpl }
.forEach {
it.outputFileName = "${rootProject.name}_v${versionName}_${buildType.name}.apk"
}
}
}

dependencies {
Expand Down

0 comments on commit 65c83f6

Please sign in to comment.