abouttreesummaryrefslogcommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorJules Aguillon2024-01-08 22:47:21 +0100
committerJules Aguillon2024-01-08 22:47:21 +0100
commite26e1d112cb35d65094c22ea9f0645e911fc4802 (patch)
tree894397a4edacb0cc392a268c5da176581308a711 /build.gradle
parent0005eb2dd58c00241038cbd7ffe2a6bf9755738b (diff)
downloadunexpected-keyboard-e26e1d112cb35d65094c22ea9f0645e911fc4802.tar.gz
unexpected-keyboard-e26e1d112cb35d65094c22ea9f0645e911fc4802.zip
gradle: Name outputs after the application ID
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle7
1 files changed, 7 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index dcf3ca2..72a2480 100644
--- a/build.gradle
+++ b/build.gradle
@@ -68,6 +68,13 @@ android {
}
}
+ // Name outputs after the application ID.
+ android.applicationVariants.all { variant ->
+ variant.outputs.all {
+ outputFileName = "${applicationId}.apk"
+ }
+ }
+
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7