Skip to content

Commit dfa9db4

Browse files
dulmandakhfacebook-github-bot
authored andcommitted
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: #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
1 parent 3a41125 commit dfa9db4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ buildscript {
1212
jcenter()
1313
}
1414
dependencies {
15-
classpath("com.android.tools.build:gradle:4.0.1")
15+
classpath("com.android.tools.build:gradle:4.1.0")
1616
classpath("de.undercouch:gradle-download-task:4.0.2")
1717

1818
// NOTE: Do not place your application dependencies here; they belong

packages/react-native-codegen/android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ buildscript {
1212
jcenter()
1313
}
1414
dependencies {
15-
classpath("com.android.tools.build:gradle:4.0.1")
15+
classpath("com.android.tools.build:gradle:4.1.0")
1616
}
1717
}
1818

packages/react-native-codegen/android/gradlePlugin-build/gradlePlugin/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ gradlePlugin {
1919
}
2020

2121
dependencies {
22-
implementation 'com.android.tools.build:gradle:4.0.1'
22+
implementation 'com.android.tools.build:gradle:4.1.0'
2323
// Use the same Gson version that `com.android.tools.build:gradle` depends on.
2424
implementation 'com.google.code.gson:gson:2.8.5'
2525
implementation 'com.google.guava:guava:29.0-jre'

template/android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ buildscript {
1313
jcenter()
1414
}
1515
dependencies {
16-
classpath("com.android.tools.build:gradle:4.0.1")
16+
classpath("com.android.tools.build:gradle:4.1.0")
1717
// NOTE: Do not place your application dependencies here; they belong
1818
// in the individual module build.gradle files
1919
}

0 commit comments

Comments
 (0)