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
48d8bc65
Commit
48d8bc65
authored
Apr 11, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
7f80a13e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
2 deletions
+18
-2
build.gradle
+5
-1
script/sdk_manager.py
+12
-0
src/main/java/com/common/fragment/RegionFragment.java
+1
-1
No files found.
build.gradle
View file @
48d8bc65
...
@@ -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/sdk_manager.py
View file @
48d8bc65
...
@@ -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 @
48d8bc65
...
@@ -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