Skip to content

Commit

Permalink
Merge pull request #535 from rmevans9/rn-56
Browse files Browse the repository at this point in the history
Make this work with RN56
  • Loading branch information
itinance authored Aug 7, 2018
2 parents b011b77 + d3228f0 commit 3fb046e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
def safeExtGet(prop, fallback) {
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}

buildscript {
repositories {
jcenter()
Expand All @@ -11,12 +15,12 @@ buildscript {
apply plugin: 'com.android.library'

android {
compileSdkVersion 26
buildToolsVersion "26.0.3"
compileSdkVersion safeExtGet('compileSdkVersion', 26)
buildToolsVersion safeExtGet('buildToolsVersion', '26.0.3')

defaultConfig {
minSdkVersion 16
targetSdkVersion 22
minSdkVersion safeExtGet('minSdkVersion', 16)
targetSdkVersion safeExtGet('targetSdkVersion', 22)
versionCode 1
versionName "1.0"
}
Expand Down

0 comments on commit 3fb046e

Please sign in to comment.