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
7e775da4
Unverified
Commit
7e775da4
authored
Oct 11, 2018
by
Marcus Coleman
Committed by
GitHub
Oct 11, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #35 from KarlosQ/patch-1
Use project-wide properties and new dependency
parents
d9c581ff
089d3db8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
build.gradle
android/build.gradle
+10
-6
No files found.
android/build.gradle
View file @
7e775da4
def
safeExtGet
(
prop
,
fallback
)
{
rootProject
.
ext
.
has
(
prop
)
?
rootProject
.
ext
.
get
(
prop
)
:
fallback
}
apply
plugin:
'com.android.library'
android
{
compileSdkVersion
23
buildToolsVersion
"23.0.1"
compileSdkVersion
safeExtGet
(
'compileSdkVersion'
,
26
)
buildToolsVersion
safeExtGet
(
'buildToolsVersion'
,
'26.0.3'
)
defaultConfig
{
minSdkVersion
16
targetSdkVersion
22
defaultConfig
{
minSdkVersion
safeExtGet
(
'minSdkVersion'
,
16
)
targetSdkVersion
safeExtGet
(
'targetSdkVersion'
,
26
)
versionCode
1
versionName
"1.0"
ndk
{
...
...
@@ -16,5 +20,5 @@ android {
}
dependencies
{
compile
'com.facebook.react:react-native:+'
implementation
'com.facebook.react:react-native:+'
}
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