We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1075262 commit c07bf55Copy full SHA for c07bf55
app/build.gradle.kts
@@ -1,3 +1,4 @@
1
+import com.android.build.api.variant.impl.VariantOutputImpl
2
import java.io.FileInputStream
3
import java.util.Properties
4
@@ -112,6 +113,17 @@ android {
112
113
excludes += "/META-INF/{AL2.0,LGPL2.1}"
114
}
115
116
+
117
+ androidComponents {
118
+ onVariants { variant ->
119
+ variant.outputs.forEach { output ->
120
+ if (output is VariantOutputImpl) {
121
+ output.outputFileName =
122
+ "githubviewer-${variant.name}-${output.versionName.get()}.apk"
123
+ }
124
125
126
127
128
129
// Spotless configuration --------------------------------------------------------------------------
0 commit comments