diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2019-08-28 16:13:36 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2019-08-28 16:13:36 +0300 |
commit | 0fb44062495d98685dc14c88edbda0e00e64d80b (patch) | |
tree | 4f58bdc40b55b2e31434a040484abe762d399232 | |
parent | 1e2df23a4824b3030c858b9fdac49b78aeff41f2 (diff) |
gradle updatev1.0
-rw-r--r-- | app/build.gradle | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle index f5c928d..f84b7b8 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -15,6 +15,12 @@ android { proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
+ applicationVariants.all { variant ->
+ variant.outputs.all { output ->
+ def formattedDate = new Date().format('yyMMdd-HHmmss')
+ outputFileName = "SonyHeadphonesControl-v${defaultConfig.versionCode}-${formattedDate}.apk"
+ }
+ }
}
dependencies {
|