Skip to content

Commit 6ccd0cd

Browse files
hramosfacebook-github-bot
authored andcommittedMar 3, 2021
Bump Android compileSdkVersion and targetSdkVersion to 30 (facebook#31078)
Summary: ## Summary Bump Android compileSdkVersion and targetSdkVersion to 30 ## Changelog [Android][Changed] Bump Android compileSdkVersion and targetSdkVersion from 29 to 30 Pull Request resolved: facebook#31078 Test Plan: Circle CI and Sandcastle Reviewed By: mdvacca Differential Revision: D26765188 Pulled By: hramos fbshipit-source-id: a971641cea4860df58ce6e9b0f14405bfc4e0979
1 parent be7f057 commit 6ccd0cd

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed
 

‎.buckconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
[android]
3-
target = android-29
3+
target = android-30
44

55
[download]
66
max_number_of_retries = 3

‎.circleci/Dockerfiles/Dockerfile.android

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# and build a Android application that can be used to run the
1515
# tests specified in the scripts/ directory.
1616
#
17-
FROM reactnativecommunity/react-native-android:2.1
17+
FROM reactnativecommunity/react-native-android:3.2
1818

1919
LABEL Description="React Native Android Test Image"
2020
LABEL maintainer="Héctor Ramos <hector@fb.com>"

‎.circleci/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ executors:
3535
reactnativeandroid:
3636
<<: *defaults
3737
docker:
38-
- image: reactnativecommunity/react-native-android:2.1
38+
- image: reactnativecommunity/react-native-android:3.2
3939
resource_class: "large"
4040
environment:
4141
- TERM: "dumb"
@@ -617,7 +617,7 @@ jobs:
617617
environment:
618618
- ANDROID_HOME: "C:\\Android\\android-sdk"
619619
- ANDROID_NDK: "C:\\Android\\android-sdk\\ndk\\20.1.5948944"
620-
- ANDROID_BUILD_VERSION: 28
620+
- ANDROID_BUILD_VERSION: 30
621621
- ANDROID_TOOLS_VERSION: 29.0.3
622622
- GRADLE_OPTS: -Dorg.gradle.daemon=false
623623
- NDK_VERSION: 20.1.5948944

‎ReactAndroid/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ task extractJNIFiles {
378378
}
379379

380380
android {
381-
compileSdkVersion 29
381+
compileSdkVersion 30
382382
ndkVersion ANDROID_NDK_VERSION
383383
compileOptions {
384384
sourceCompatibility(JavaVersion.VERSION_1_8)

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"prettier": "prettier --write \"./**/*.{js,md,yml}\"",
6868
"format-check": "prettier --list-different \"./**/*.{js,md,yml}\"",
6969
"update-lock": "npx yarn-deduplicate",
70-
"docker-setup-android": "docker pull reactnativecommunity/react-native-android:2.1",
70+
"docker-setup-android": "docker pull reactnativecommunity/react-native-android:3.2",
7171
"docker-build-android": "docker build -t reactnativeci/android -f .circleci/Dockerfiles/Dockerfile.android .",
7272
"test-android-run-instrumentation": "docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-instrumentation-tests.sh",
7373
"test-android-run-unit": "docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-unit-tests.sh",

‎template/android/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ buildscript {
44
ext {
55
buildToolsVersion = "29.0.3"
66
minSdkVersion = 21
7-
compileSdkVersion = 29
8-
targetSdkVersion = 29
7+
compileSdkVersion = 30
8+
targetSdkVersion = 30
99
ndkVersion = "20.1.5948944"
1010
}
1111
repositories {

0 commit comments

Comments
 (0)