Skip to content

Commit

Permalink
Merge pull request #219 from SaeedZhiany/patch-1
Browse files Browse the repository at this point in the history
Update build.gradle
  • Loading branch information
zibs authored May 31, 2019
2 parents bb57633 + ccd2148 commit d7b69c6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Inspired by rayronvictor's PR #248 tp react-native-config
// https://github.com/luggit/react-native-config/pull/248

def _ext = rootProject.ext

buildscript {
repositories {
maven {
Expand All @@ -9,17 +14,12 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:3.3.1'
classpath _ext.has('gradleBuildTools') ? _ext.gradleBuildTools : 'com.android.tools.build:gradle:3.4.0'
}
}

apply plugin: 'com.android.library'

// Inspired by rayronvictor's PR #248 tp react-native-config
// https://github.com/luggit/react-native-config/pull/248

def _ext = rootProject.ext

def _reactNativeVersion = _ext.has('reactNative') ? _ext.reactNative : '+'
def _compileSdkVersion = _ext.has('compileSdkVersion') ? _ext.compileSdkVersion : 27
def _buildToolsVersion = _ext.has('buildToolsVersion') ? _ext.buildToolsVersion : '27.0.3'
Expand Down

0 comments on commit d7b69c6

Please sign in to comment.