From dfa9db49e34c6f54c04148b877de938bf103a059 Mon Sep 17 00:00:00 2001 From: Dulmandakh Date: Tue, 27 Oct 2020 23:32:39 -0700 Subject: [PATCH] bump Android Gradle Plugin to 4.1.0 (#30201) Summary: Android Studio 4.1 release with Android Gradle Plugin 4.1.0, thus I expect developers will update to newer version and expect React Native support. Thus release include many fixes and improvements, see[release notes](https://developer.android.com/studio/releases/gradle-plugin#4-1-0), but most importantly Google released it's API documentation at https://developer.android.com/reference/tools/gradle-api. We lacked the API documentation to develop proper React Gradle Plugin. ## Changelog [Android] [Changed] - bump Android Gradle Plugin to 4.1.0 Pull Request resolved: https://github.com/facebook/react-native/pull/30201 Test Plan: RNTester builds and runs as expected, also my apps. Reviewed By: cpojer Differential Revision: D24560213 Pulled By: fkgozali fbshipit-source-id: 9cf1e2373f278885b35b4f9176c7ad736ec50f6b --- build.gradle.kts | 2 +- packages/react-native-codegen/android/build.gradle | 2 +- .../android/gradlePlugin-build/gradlePlugin/build.gradle | 2 +- template/android/build.gradle | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index a55cebbc57e..4d2c53b0189 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -12,7 +12,7 @@ buildscript { jcenter() } dependencies { - classpath("com.android.tools.build:gradle:4.0.1") + classpath("com.android.tools.build:gradle:4.1.0") classpath("de.undercouch:gradle-download-task:4.0.2") // NOTE: Do not place your application dependencies here; they belong diff --git a/packages/react-native-codegen/android/build.gradle b/packages/react-native-codegen/android/build.gradle index c20c50280d7..e34e9df6c99 100644 --- a/packages/react-native-codegen/android/build.gradle +++ b/packages/react-native-codegen/android/build.gradle @@ -12,7 +12,7 @@ buildscript { jcenter() } dependencies { - classpath("com.android.tools.build:gradle:4.0.1") + classpath("com.android.tools.build:gradle:4.1.0") } } diff --git a/packages/react-native-codegen/android/gradlePlugin-build/gradlePlugin/build.gradle b/packages/react-native-codegen/android/gradlePlugin-build/gradlePlugin/build.gradle index dd269383ec1..2eb21ffdc01 100644 --- a/packages/react-native-codegen/android/gradlePlugin-build/gradlePlugin/build.gradle +++ b/packages/react-native-codegen/android/gradlePlugin-build/gradlePlugin/build.gradle @@ -19,7 +19,7 @@ gradlePlugin { } dependencies { - implementation 'com.android.tools.build:gradle:4.0.1' + implementation 'com.android.tools.build:gradle:4.1.0' // Use the same Gson version that `com.android.tools.build:gradle` depends on. implementation 'com.google.code.gson:gson:2.8.5' implementation 'com.google.guava:guava:29.0-jre' diff --git a/template/android/build.gradle b/template/android/build.gradle index 3f5f8386d34..93232f5fca9 100644 --- a/template/android/build.gradle +++ b/template/android/build.gradle @@ -13,7 +13,7 @@ buildscript { jcenter() } dependencies { - classpath("com.android.tools.build:gradle:4.0.1") + classpath("com.android.tools.build:gradle:4.1.0") // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files }