From 851cc652ab6c546ed4b7290a55a6fde46f9a4de3 Mon Sep 17 00:00:00 2001 From: amiru Date: Thu, 1 Feb 2018 16:36:48 +0200 Subject: [PATCH] bump android dependencies to 26 --- example/android/app/build.gradle | 10 +++++----- example/android/build.gradle | 4 +++- .../android/gradle/wrapper/gradle-wrapper.properties | 4 ++-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 83566d3..59c41c8 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -9,13 +9,13 @@ def enableSeparateBuildPerCPUArchitecture = false def enableProguardInReleaseBuilds = false android { - compileSdkVersion 25 - buildToolsVersion '25.0.1' + compileSdkVersion 26 + buildToolsVersion '26.0.3' defaultConfig { applicationId "com.example" minSdkVersion 16 - targetSdkVersion 22 + targetSdkVersion 25 versionCode 1 versionName "1.0" ndk { @@ -53,8 +53,8 @@ android { dependencies { compile fileTree(dir: "libs", include: ["*.jar"]) - compile "com.android.support:appcompat-v7:25.0.1" - compile "com.android.support:recyclerview-v7:25.0.1" + compile "com.android.support:appcompat-v7:26.1.0" + compile "com.android.support:recyclerview-v7:26.1.0" compile "com.facebook.react:react-native:+" // From node_modules compile project(":rncamerakit") } diff --git a/example/android/build.gradle b/example/android/build.gradle index 3ab84d2..2991379 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.3.3' + classpath 'com.android.tools.build:gradle:3.0.1' // 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 "$rootProject.projectDir/../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 881a647..aa02760 100644 --- a/example/android/gradle/wrapper/gradle-wrapper.properties +++ b/example/android/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Wed Aug 02 10:16:55 IDT 2017 +#Thu Feb 01 16:33:12 IST 2018 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip