|
|
@@ -13,19 +13,24 @@ android {
|
|
|
minSdkVersion 15
|
|
|
targetSdkVersion 22
|
|
|
multiDexEnabled true
|
|
|
- versionCode 10
|
|
|
+ versionCode 11
|
|
|
versionName "0.1.3"
|
|
|
}
|
|
|
|
|
|
- /*productFlavors {
|
|
|
+ productFlavors {
|
|
|
dev {
|
|
|
minSdkVersion 21
|
|
|
+ aaptOptions.cruncherEnabled = false;
|
|
|
+ resConfigs "ko", "xxxhdpi"
|
|
|
}
|
|
|
-
|
|
|
- prod {
|
|
|
- minSdkVersion 15
|
|
|
+ prd {
|
|
|
}
|
|
|
- }*/
|
|
|
+ }
|
|
|
+
|
|
|
+ android.variantFilter {variant ->
|
|
|
+ def flavorName = variant.getFlavors().get(0).name;
|
|
|
+ splits.abi.enable = (flavorName == 'prd');
|
|
|
+ }
|
|
|
|
|
|
/*task clean(type: Exec) {
|
|
|
ext.lockhunter = '\"C:\\Program Files\\LockHunter\\LockHunter.exe"'
|
|
|
@@ -49,11 +54,11 @@ android {
|
|
|
def formattedDate = new Date().format("yyyyMMdd_HHmmss")
|
|
|
def apkName = "Kneet3.0_v" + variant.versionName + "_" + formattedDate + "_Release.apk"
|
|
|
output.outputFile = new File(output.outputFile.parent, apkName)
|
|
|
- } /*else {
|
|
|
+ } else {
|
|
|
def formattedDate = new Date().format("yyyyMMdd_HHmmss")
|
|
|
def apkName = "Kneet3.0_v" + variant.versionName + "_" + formattedDate + "_Debug.apk"
|
|
|
output.outputFile = new File(output.outputFile.parent, apkName)
|
|
|
- }*/
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -111,8 +116,8 @@ dependencies {
|
|
|
compile 'org.codehaus.jackson:jackson-mapper-asl:1.9.13'
|
|
|
compile 'com.squareup.picasso:picasso:2.5.2'
|
|
|
compile 'com.tsengvn:typekit:1.0.0'
|
|
|
- compile 'com.koushikdutta.async:androidasync:2.+'
|
|
|
- compile 'com.mcxiaoke.volley:library:1.0.+'
|
|
|
+ compile 'com.koushikdutta.async:androidasync:2.2.1'
|
|
|
+ compile 'com.mcxiaoke.volley:library:1.0.19'
|
|
|
compile ('com.google.android:flexbox:0.3.0') {
|
|
|
exclude module: 'support-compat'
|
|
|
exclude module: 'recyclerview-v7'
|