Skip to content

Commit

Permalink
open document format support ...
Browse files Browse the repository at this point in the history
  • Loading branch information
plotn committed Aug 9, 2018
1 parent e9b94f0 commit 17d13b9
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -118,20 +118,20 @@ android {
sourceCompatibility JavaVersion.VERSION_1_7
}

applicationVariants.all { variant ->
variant.outputs.all { output ->
def project = "CoolReader"
def SEP = "_"
def buildType = variant.variantData.variantConfiguration.buildType.name
def version = variant.versionName
def date = new Date();
def formattedDate = date.format('yyyyMMdd_HHmm')

def newApkName = project + SEP + buildType + SEP + version + SEP + formattedDate + ".apk"

outputFileName = new File(newApkName)
}
}
// applicationVariants.all { variant ->
// variant.outputs.all { output ->
// def project = "CoolReader"
// def SEP = "_"
// def buildType = variant.variantData.variantConfiguration.buildType.name
// def version = variant.versionName
// def date = new Date();
// def formattedDate = date.format('yyyyMMdd_HHmm')
//
// def newApkName = project + SEP + buildType + SEP + version + SEP + formattedDate + ".apk"
//
// outputFileName = new File(newApkName)
// }
// }

// https://developer.android.com/about/versions/marshmallow/android-6.0-changes#behavior-apache-http-client
useLibrary 'org.apache.http.legacy'
Expand Down

0 comments on commit 17d13b9

Please sign in to comment.