Skip to content

Commit

Permalink
🐛 Fix quotes in build.gradle to allow string interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
cooperka committed Sep 4, 2018
1 parent 49ed261 commit 5dd6fec
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ buildscript {

apply plugin: "com.android.library"

// Fallback versions are intended to mirror
// https://github.com/facebook/react-native/blob/v0.56.0/local-cli/templates/HelloWorld/android/build.gradle
def _ext = rootProject.ext
def _reactNativeVersion = _ext.has('reactNative') ? _ext.reactNative : '+'
def _compileSdkVersion = _ext.has('compileSdkVersion') ? _ext.compileSdkVersion : 26
Expand Down Expand Up @@ -42,7 +44,7 @@ repositories {
dependencies {
compile "com.facebook.react:react-native:${_reactNativeVersion}"

compile 'com.android.support:appcompat-v7:${_supportLibVersion}'
compile 'com.android.support:support-v4:${_supportLibVersion}'
compile 'com.android.support:design:${_supportLibVersion}'
compile "com.android.support:appcompat-v7:${_supportLibVersion}"
compile "com.android.support:support-v4:${_supportLibVersion}"
compile "com.android.support:design:${_supportLibVersion}"
}

0 comments on commit 5dd6fec

Please sign in to comment.