mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-04-17 21:38:29 +00:00
Fixed generated APK file name
This commit is contained in:
parent
3ec942c475
commit
f3b6627635
1 changed files with 2 additions and 1 deletions
|
|
@ -64,6 +64,7 @@ task("getGitVersion") {
|
|||
} catch (e: Exception) {
|
||||
println("Git not found [$e], using $gitVersion")
|
||||
}
|
||||
project.version = gitVersion
|
||||
}
|
||||
project.tasks.preBuild.dependsOn("getGitVersion")
|
||||
|
||||
|
|
@ -105,7 +106,7 @@ android {
|
|||
variant.outputs
|
||||
.map { it as com.android.build.gradle.internal.api.BaseVariantOutputImpl }
|
||||
.forEach { output ->
|
||||
output.outputFileName = "linphone-android-${variant.buildType.name}-$versionName.apk"
|
||||
output.outputFileName = "linphone-android-${variant.buildType.name}-${project.version}.apk"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue