Skip to content

Commit

Permalink
chore: RN 0.71.0 for TestsExample (#1679)
Browse files Browse the repository at this point in the history
## Description

Should be merged to
#1631.

Build status:

* [x] Android
* [x] iOS

## Changes

Mostly followed up instructions from [upgradle
helper](https://react-native-community.github.io/upgrade-helper/?from=0.70.1&to=0.71.0-rc.6)
with some minor tweaks (ts configuration, etc.)


## Test code and steps to reproduce

Run `TestsExample`

## Checklist

- [ ] Ensured that CI passes
  • Loading branch information
kkafar authored Jan 10, 2023
1 parent 72765d4 commit 0dd72cc
Show file tree
Hide file tree
Showing 36 changed files with 2,863 additions and 3,685 deletions.
25 changes: 4 additions & 21 deletions FabricTestExample/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ buildscript {
ext {
buildToolsVersion = "33.0.0"
minSdkVersion = 21
compileSdkVersion = 31
targetSdkVersion = 31
compileSdkVersion = 33
targetSdkVersion = 33
// ndkVersion = "21.4.7075529"
ndkVersionn = "23.1.7779620"
kotlinVersion = "1.6.21"
}
repositories {
google()
Expand All @@ -16,24 +17,6 @@ buildscript {
dependencies {
classpath("com.android.tools.build:gradle:7.3.1")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("de.undercouch:gradle-download-task:5.0.1")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url("$rootDir/../node_modules/react-native/android")
}
maven {
// Android JSC is installed from npm
url("$rootDir/../node_modules/jsc-android/dist")
}
mavenCentral()
google()
maven { url 'https://www.jitpack.io' }
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
6 changes: 0 additions & 6 deletions TestsExample/.buckconfig

This file was deleted.

67 changes: 0 additions & 67 deletions TestsExample/.flowconfig

This file was deleted.

3 changes: 3 additions & 0 deletions TestsExample/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,6 @@ buck-out/
# Ruby / CocoaPods
/ios/Pods/
/vendor/bundle/

# Temporary files created by Metro to check the health of the file watcher
.metro-health-check*
1 change: 1 addition & 0 deletions TestsExample/.ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.7.6
4 changes: 2 additions & 2 deletions TestsExample/Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source 'https://rubygems.org'

# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
ruby '2.7.4'
ruby File.read(File.join(__dir__, '.ruby-version')).strip

gem 'cocoapods', '~> 1.11', '>= 1.11.2'
gem 'cocoapods', '~> 1.11', '>= 1.11.3'
1 change: 0 additions & 1 deletion TestsExample/_ruby-version

This file was deleted.

55 changes: 0 additions & 55 deletions TestsExample/android/app/_BUCK

This file was deleted.

Loading

0 comments on commit 0dd72cc

Please sign in to comment.