Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_highgold_pro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_highgold_pro
Commits
6aa77aaa
Commit
6aa77aaa
authored
Feb 06, 2021
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.3.4发版
parent
7c6571af
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
3 deletions
+21
-3
build.gradle
app/build.gradle
+13
-2
DownloadProgressDialog.kt
.../com/mints/goldspace/ui/widgets/DownloadProgressDialog.kt
+6
-0
gradle.properties
gradle.properties
+2
-1
No files found.
app/build.gradle
View file @
6aa77aaa
...
...
@@ -9,8 +9,8 @@ android {
applicationId
"com.mints.goldspace"
minSdkVersion
rootProject
.
ext
.
androidMinSdkVersion
targetSdkVersion
rootProject
.
ext
.
androidTargetSdkVersion
versionCode
3
3
versionName
"1.3.
3
"
versionCode
3
4
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
}
...
...
app/src/main/java/com/mints/goldspace/ui/widgets/DownloadProgressDialog.kt
View file @
6aa77aaa
...
...
@@ -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
()
}
}
...
...
gradle.properties
View file @
6aa77aaa
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment