Skip to content

Commit

Permalink
Updated android install instructions (#6485)
Browse files Browse the repository at this point in the history
Copied over from playground app.
Sets the version only once and then reuses the variable
  • Loading branch information
danilobuerger authored Aug 20, 2020
1 parent 2fb4396 commit 627c6e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/docs/docs-Installing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ buildscript {
compileSdkVersion = 26
targetSdkVersion = 26
supportLibVersion = "26.1.0"
+ RNNKotlinVersion = "1.3.61" // Or any version above 1.3.x
+ RNNKotlinStdlib = "kotlin-stdlib-jdk8"
+ kotlinVersion = "1.3.72" // Or any version above 1.3.x
+ RNNKotlinVersion = kotlinVersion
}
repositories {
google()
Expand All @@ -211,7 +211,7 @@ buildscript {
+ mavenCentral()
}
dependencies {
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61" // Or whatever Kotlin version you've specified above
+ 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:2.2.3'
}
Expand Down Expand Up @@ -362,4 +362,4 @@ dependencies {
implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
}
```
```

0 comments on commit 627c6e9

Please sign in to comment.