File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,20 +118,20 @@ android {
118118 sourceCompatibility JavaVersion . VERSION_1_7
119119 }
120120
121- applicationVariants. all { variant ->
122- variant. outputs. all { output ->
123- def project = " CoolReader"
124- def SEP = " _"
125- def buildType = variant. variantData. variantConfiguration. buildType. name
126- def version = variant. versionName
127- def date = new Date ();
128- def formattedDate = date. format(' yyyyMMdd_HHmm' )
129-
130- def newApkName = project + SEP + buildType + SEP + version + SEP + formattedDate + " .apk"
131-
132- outputFileName = new File (newApkName)
133- }
134- }
121+ // applicationVariants.all { variant ->
122+ // variant.outputs.all { output ->
123+ // def project = "CoolReader"
124+ // def SEP = "_"
125+ // def buildType = variant.variantData.variantConfiguration.buildType.name
126+ // def version = variant.versionName
127+ // def date = new Date();
128+ // def formattedDate = date.format('yyyyMMdd_HHmm')
129+ //
130+ // def newApkName = project + SEP + buildType + SEP + version + SEP + formattedDate + ".apk"
131+ //
132+ // outputFileName = new File(newApkName)
133+ // }
134+ // }
135135
136136 // https://developer.android.com/about/versions/marshmallow/android-6.0-changes#behavior-apache-http-client
137137 useLibrary ' org.apache.http.legacy'
You can’t perform that action at this time.
0 commit comments