Skip to content

Commit

Permalink
build tools and sdk update (#147)
Browse files Browse the repository at this point in the history
Update the Android build tools and sdk to work with React Native 0.56.
  • Loading branch information
jasonalmaturner authored and Minishlink committed Jan 3, 2019
1 parent f311321 commit 54e38bc
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
Expand Up @@ -5,19 +5,23 @@ buildscript {


dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.android.tools.build:gradle:2.3.3'
}
}

apply plugin: 'com.android.library'

def safeExtGet(prop, fallback) {
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}

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

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

0 comments on commit 54e38bc

Please sign in to comment.