Commit 6aa77aaa authored by mengcuiguang's avatar mengcuiguang

1.3.4发版

parent 7c6571af
......@@ -9,8 +9,8 @@ android {
applicationId "com.mints.goldspace"
minSdkVersion rootProject.ext.androidMinSdkVersion
targetSdkVersion rootProject.ext.androidTargetSdkVersion
versionCode 33
versionName "1.3.3"
versionCode 34
versionName "1.3.4"
flavorDimensions "default"
// dex突破65535的限制
......@@ -90,6 +90,17 @@ android {
zipAlignEnabled true
shrinkResources true//打开
// buildConfigField "boolean", "LOG_DEBUG", "false"
// buildConfigField "String", "AppKeyPre", "\"abcd\""
// buildConfigField "String", "MainIp", RELEASE_URL
// manifestPlaceholders = [TD_SCHEMA_KEY: RELEASE_TD_SCHEMA_KEY,
// TD_KEY : RELEASE_TD_KEY]
//
// //混淆
// minifyEnabled false
// zipAlignEnabled false
// shrinkResources false//打开
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
......
......@@ -8,8 +8,11 @@ import android.view.View
import android.view.WindowManager
import android.widget.ImageView
import android.widget.TextView
import com.downloader.PRDownloader
import com.downloader.Progress
import com.mints.goldspace.MintsApplication
import com.mints.goldspace.R
import com.mints.goldspace.utils.CacheUtil
import com.mints.goldspace.utils.Utils
import com.mints.library.utils.nodoubleclick.AntiShake
......@@ -45,6 +48,9 @@ class DownloadProgressDialog(context: Context) :
if (AntiShake.check(v?.id)) return
when (v.id) {
R.id.iv_download_quit -> {
PRDownloader.cancelAll()
CacheUtil.clearAllCache(MintsApplication.getContext())
dismiss()
}
}
......
......@@ -16,7 +16,8 @@ org.gradle.jvmargs=-Xmx1536m
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
DEBUG_URL="http://39.97.65.143:9082/api/"
#DEBUG_URL="http://39.97.65.143:9082/api/"
DEBUG_URL="http://192.168.31.193:8101/"
RELEASE_URL="https://api.mints-id.com/gsnew-api/"
RELEASE_KEY_PASSWORD=gold.space
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment