Skip to content

Instantly share code, notes, and snippets.

@mauriballes
Last active September 7, 2018 13:13
Show Gist options
  • Save mauriballes/f36ff11cbb0b23d49dffec94d5347166 to your computer and use it in GitHub Desktop.
Save mauriballes/f36ff11cbb0b23d49dffec94d5347166 to your computer and use it in GitHub Desktop.
Update Gradle Version React Native 0.56.0

Update Gradle Version on React Native Project 0.56.0

build.gradle file

buildscript {
    repositories {
        ...
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.0'
        ...
    }
}
...
ext {
    buildToolsVersion = "27.0.3"
    minSdkVersion = 16
    compileSdkVersion = 27
    targetSdkVersion = 27
    supportLibVersion = "27.0.1"
}

gradle-wrapper.properties file

...
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment