Skip to content

Commit

Permalink
Update kotlin to 1.6.10 to avoid build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
danilobuerger committed Mar 17, 2022
1 parent 7e00452 commit 288137f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ buildscript {
? rootProject.ext['kotlinVersion']
: rootProject.hasProperty('AsyncStorage_kotlinVersion')
? rootProject.properties['AsyncStorage_kotlinVersion']
: '1.5.31'
: '1.6.10'

repositories {
google()
Expand Down Expand Up @@ -116,8 +116,8 @@ dependencies {

if (useNextStorage) {
def room_version = getVersionOrDefault('AsyncStorage_next_roomVersion', '2.4.2')
def coroutines_version = "1.5.2"
def coroutinesTest_version = "1.5.2"
def coroutines_version = "1.6.0"
def coroutinesTest_version = "1.6.0"
// if we don't provide explicit dependency on reflection, kotlin plugin
// would add one automatically, probably a version that is not compatible with
// used kotlin
Expand Down
8 changes: 4 additions & 4 deletions website/docs/advanced/Next.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ See [Configuration](#configuration) section below to learn more about setting di
buildscript {
ext {
// other extensions
+ kotlinVersion = '1.5.31'
+ kotlinVersion = '1.6.10'
}

dependencies {
Expand All @@ -67,19 +67,19 @@ AsyncStorage_useNextStorage=true

**Kotlin version**

Next storage is tested against Kotlin version `1.5.31`.
Next storage is tested against Kotlin version `1.6.10`.
You can specify different version, in one of two ways:

- add `kotlinVersion` extension to the `rootProject`:

```groovy
rootProject.ext.kotlinVersion = '1.5.31'
rootProject.ext.kotlinVersion = '1.6.10'
```

- specify `AsyncStorage_kotlinVersion` in `gradle.properties`:

```groovy
AsyncStorage_kotlinVersion=1.5.31
AsyncStorage_kotlinVersion=1.6.10
```

**Room**
Expand Down

0 comments on commit 288137f

Please sign in to comment.