We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eeccb1c commit 52d9af3Copy full SHA for 52d9af3
1 file changed
app/build.gradle
@@ -69,6 +69,15 @@ android {
69
}
70
71
72
+ applicationVariants.all { variant ->
73
+ variant.outputs.all {
74
+ def timestamp = new Date().format('yyyyMMdd_HHmmss')
75
+ def versionName = variant.versionName
76
+ def ext = outputFileName.endsWith('.aab') ? 'aab' : 'apk'
77
+ outputFileName = "Runnect-${variant.buildType.name}-v${versionName}-${timestamp}.${ext}"
78
+ }
79
80
+
81
compileOptions {
82
sourceCompatibility JavaVersion.VERSION_17
83
targetCompatibility JavaVersion.VERSION_17
0 commit comments