Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
R
react-native-extra-dimensions-android
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
放牛的园子
react-native-extra-dimensions-android
Commits
93afb3a8
Unverified
Commit
93afb3a8
authored
Jul 19, 2018
by
Carlos Q
Committed by
GitHub
Jul 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor
parent
57d1eba2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
build.gradle
android/build.gradle
+8
-4
No files found.
android/build.gradle
View file @
93afb3a8
def
safeExtGet
(
prop
,
fallback
)
{
rootProject
.
ext
.
has
(
prop
)
?
rootProject
.
ext
.
get
(
prop
)
:
fallback
}
apply
plugin:
'com.android.library'
def
DEFAULT_COMPILE_SDK_VERSION
=
26
...
...
@@ -6,12 +10,12 @@ def DEFAULT_TARGET_SDK_VERSION = 26
def
DEFAULT_MIN_SDK_VERSION
=
16
android
{
compileSdkVersion
rootProject
.
hasProperty
(
'compileSdkVersion'
)
?
rootProject
.
compileSdkVersion
:
DEFAULT_COMPILE_SDK_VERSION
buildToolsVersion
rootProject
.
hasProperty
(
'buildToolsVersion'
)
?
rootProject
.
buildToolsVersion
:
DEFAULT_BUILD_TOOLS_VERSION
compileSdkVersion
safeExtGet
(
'compileSdkVersion'
,
26
)
buildToolsVersion
safeExtGet
(
'buildToolsVersion'
,
'26.0.3'
)
defaultConfig
{
minSdkVersion
rootProject
.
hasProperty
(
'minSdkVersion'
)
?
rootProject
.
minSdkVersion
:
DEFAULT_MIN_SDK_VERSION
targetSdkVersion
rootProject
.
hasProperty
(
'targetSdkVersion'
)
?
rootProject
.
targetSdkVersion
:
DEFAULT_TARGET_SDK_VERSION
minSdkVersion
safeExtGet
(
'minSdkVersion'
,
16
)
targetSdkVersion
safeExtGet
(
'targetSdkVersion'
,
26
)
versionCode
1
versionName
"1.0"
ndk
{
...
...
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