diff --git a/android/build.gradle b/android/build.gradle index 09cf1bf..9d5931b 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -8,12 +8,14 @@ buildscript { // module dependency in an application project. if (project == rootProject) { repositories { + mavenCentral() + maven { url "$rootDir/../node_modules/react-native/android" } google() - jcenter() } dependencies { classpath("com.android.tools.build:gradle:3.6.2") + } } } @@ -36,6 +38,7 @@ android { repositories { mavenCentral() + maven { url "$rootDir/../node_modules/react-native/android" } google() } diff --git a/android/gradle.properties b/android/gradle.properties new file mode 100644 index 0000000..a6979eb --- /dev/null +++ b/android/gradle.properties @@ -0,0 +1,15 @@ +# Project-wide Gradle settings. + +# IDE (e.g. Android Studio) users: +# Gradle settings configured through the IDE *will override* +# any settings specified in this file. + +# For more details on how to configure your build environment visit +# http://www.gradle.org/docs/current/userguide/build_environment.html + +# AndroidX package structure to make it clearer which packages are bundled with the +# Android operating system, and which are packaged with your app's APK +# https://developer.android.com/topic/libraries/support-library/androidx-rn +android.useAndroidX=true +# Automatically convert third-party libraries to use AndroidX +android.enableJetifier=true diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index e0c4de3..0ebb310 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-5.5-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists