Skip to content

Commit

Permalink
Update docs-Installing.mdx (#7391)
Browse files Browse the repository at this point in the history
  • Loading branch information
swabbass authored Dec 8, 2021
1 parent bc483a6 commit fb6d028
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions website/docs/docs/docs-Installing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,10 @@ buildscript {
ext {
- minSdkVersion = 16
+ minSdkVersion = 21 // Or higher
compileSdkVersion = 26
targetSdkVersion = 26
supportLibVersion = "26.1.0"
+ kotlinVersion = "1.3.72" // Or any version above 1.3.x
compileSdkVersion = 30
targetSdkVersion = 30
- supportLibVersion = "26.1.0" // use AndroidX when possible
+ kotlinVersion = "1.5.31" // Or any version above 1.4.x
+ RNNKotlinVersion = kotlinVersion
}
repositories {
Expand All @@ -240,7 +240,7 @@ buildscript {
}
dependencies {
+ classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
+ classpath 'com.android.tools.build:gradle:3.5.3' // Or higher
+ classpath 'com.android.tools.build:gradle:4.0.1' // Or higher
- classpath 'com.android.tools.build:gradle:2.2.3'
}
}
Expand All @@ -249,7 +249,8 @@ allprojects {
repositories {
+ google()
mavenLocal()
jcenter()
- jcenter()
+ mavenCentral()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
Expand Down

0 comments on commit fb6d028

Please sign in to comment.