Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lib_base
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sikang
lib_base
Commits
d7430bec
Commit
d7430bec
authored
Apr 11, 2019
by
sikang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://47.100.14.92:8929/sikang/lib_base
update money format
parents
d3a70723
a939198e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
2 deletions
+24
-2
build.gradle
+5
-1
script/release_builder.sh
+6
-0
script/sdk_manager.py
+12
-0
src/main/java/com/common/fragment/RegionFragment.java
+1
-1
No files found.
build.gradle
View file @
d7430bec
...
@@ -43,7 +43,7 @@ repositories {
...
@@ -43,7 +43,7 @@ repositories {
}
}
dependencies
{
dependencies
{
api
fileTree
(
dir:
'libs'
,
include:
[
'*.jar'
,
"*.aar"
])
api
fileTree
(
dir:
'libs'
,
include:
[
'*.jar'
])
testImplementation
'junit:junit:4.12'
testImplementation
'junit:junit:4.12'
// noinspection GradleCompatible
// noinspection GradleCompatible
androidTestImplementation
'com.android.support.test:runner:1.0.2'
androidTestImplementation
'com.android.support.test:runner:1.0.2'
...
@@ -66,7 +66,11 @@ dependencies {
...
@@ -66,7 +66,11 @@ dependencies {
// api 'me.jessyan:autosize:1.0.6'
// api 'me.jessyan:autosize:1.0.6'
//同盾
//同盾
//SDK-TD-START
api
(
name:
'android_spirit-20190220-2.0.0.1'
,
ext:
'aar'
)
//SDK-TD-END
api
'com.alibaba:fastjson:1.1.58.android'
api
'com.alibaba:fastjson:1.1.58.android'
//QMUI
//QMUI
...
...
script/release_builder.sh
View file @
d7430bec
...
@@ -3,8 +3,14 @@ echo "2、渠道包(有权限)"
...
@@ -3,8 +3,14 @@ echo "2、渠道包(有权限)"
echo
-n
"选择打包方式:"
echo
-n
"选择打包方式:"
read
action
read
action
.
../../gradle.properties
#同盾插拔
./sdk_manager.py
${
td_mode
}
"TD"
cd
garble
cd
garble
#四大组件混淆
./rename_project.sh
./rename_project.sh
#代码结构混淆
./insert.py
./insert.py
cd
../../../
cd
../../../
...
...
script/sdk_manager.py
View file @
d7430bec
...
@@ -46,6 +46,18 @@ def open_sdk(path, sdk):
...
@@ -46,6 +46,18 @@ def open_sdk(path, sdk):
print
(
"params "
+
sys
.
argv
[
1
]
+
" "
+
sys
.
argv
[
2
])
print
(
"params "
+
sys
.
argv
[
1
]
+
" "
+
sys
.
argv
[
2
])
lib_base_gradle
=
"../build.gradle"
if
sys
.
argv
[
1
]
==
'open'
:
open_sdk
(
lib_base_gradle
,
sys
.
argv
[
2
])
else
:
close_sdk
(
lib_base_gradle
,
sys
.
argv
[
2
])
app_build_gradle
=
"../../app/build.gradle"
if
sys
.
argv
[
1
]
==
'open'
:
open_sdk
(
app_build_gradle
,
sys
.
argv
[
2
])
else
:
close_sdk
(
app_build_gradle
,
sys
.
argv
[
2
])
for
root
,
dirs
,
files
in
os
.
walk
(
"../../app/src/main"
):
for
root
,
dirs
,
files
in
os
.
walk
(
"../../app/src/main"
):
directory
=
os
.
path
.
join
(
os
.
getcwd
(),
root
)
directory
=
os
.
path
.
join
(
os
.
getcwd
(),
root
)
for
file
in
files
:
for
file
in
files
:
...
...
src/main/java/com/common/fragment/RegionFragment.java
View file @
d7430bec
...
@@ -47,7 +47,7 @@ public class RegionFragment extends BaseFragment {
...
@@ -47,7 +47,7 @@ public class RegionFragment extends BaseFragment {
return
(
province
==
null
?
""
:
province
)
+
" "
+
return
(
province
==
null
?
""
:
province
)
+
" "
+
(
city
==
null
?
""
:
city
)
+
" "
+
(
city
==
null
?
""
:
city
)
+
" "
+
(
district
==
null
?
""
:
district
)
+
" "
+
(
district
==
null
?
""
:
district
)
+
" "
+
(
district
==
null
?
""
:
district
);
(
area
==
null
?
""
:
area
);
}
}
}
}
...
...
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