From 431ab966e5d797f21e97fe4fbec46661a202f156 Mon Sep 17 00:00:00 2001 From: Halil Bilir Date: Fri, 8 Feb 2019 16:21:00 +0300 Subject: [PATCH] upgraded example project gradle version --- Example/android/app/build.gradle | 4 ++-- Example/android/build.gradle | 4 +++- Example/android/gradle/wrapper/gradle-wrapper.properties | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Example/android/app/build.gradle b/Example/android/app/build.gradle index 5462877..4459fa7 100644 --- a/Example/android/app/build.gradle +++ b/Example/android/app/build.gradle @@ -94,8 +94,8 @@ def enableSeparateBuildPerCPUArchitecture = false def enableProguardInReleaseBuilds = false android { - compileSdkVersion 23 - buildToolsVersion "23.0.1" + compileSdkVersion 27 + buildToolsVersion "27.0.3" defaultConfig { applicationId "com.textinputeffects" diff --git a/Example/android/build.gradle b/Example/android/build.gradle index eed9972..17e92db 100644 --- a/Example/android/build.gradle +++ b/Example/android/build.gradle @@ -3,9 +3,10 @@ buildscript { repositories { jcenter() + google() } dependencies { - classpath 'com.android.tools.build:gradle:2.2.3' + classpath 'com.android.tools.build:gradle:3.1.4' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -20,5 +21,6 @@ allprojects { // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm url "$rootDir/../node_modules/react-native/android" } + google() } } diff --git a/Example/android/gradle/wrapper/gradle-wrapper.properties b/Example/android/gradle/wrapper/gradle-wrapper.properties index dbdc05d..b6517bb 100644 --- a/Example/android/gradle/wrapper/gradle-wrapper.properties +++ b/Example/android/gradle/wrapper/gradle-wrapper.properties @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip