From e26e1d112cb35d65094c22ea9f0645e911fc4802 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Mon, 8 Jan 2024 22:47:21 +0100 Subject: gradle: Name outputs after the application ID --- build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'build.gradle') 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 -- cgit v1.2.3