upgrade Kotlin and Coroutines (#2434)

This commit is contained in:
Konrad Pozniak 2022-04-16 09:44:37 +02:00 committed by GitHub
parent 027b659d1c
commit f2fc87a79e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 5 deletions

View File

@ -88,7 +88,7 @@ android {
} }
} }
ext.coroutinesVersion = "1.6.0" ext.coroutinesVersion = "1.6.1"
ext.lifecycleVersion = "2.4.1" ext.lifecycleVersion = "2.4.1"
ext.roomVersion = '2.4.2' ext.roomVersion = '2.4.2'
ext.retrofitVersion = '2.9.0' ext.retrofitVersion = '2.9.0'
@ -99,8 +99,6 @@ ext.materialdrawerVersion = '8.4.5'
// if libraries are changed here, they should also be changed in LicenseActivity // if libraries are changed here, they should also be changed in LicenseActivity
dependencies { dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutinesVersion" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutinesVersion"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-rx3:$coroutinesVersion" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-rx3:$coroutinesVersion"

View File

@ -1,5 +1,4 @@
buildscript { buildscript {
ext.kotlin_version = '1.6.10'
repositories { repositories {
google() google()
mavenCentral() mavenCentral()
@ -7,7 +6,7 @@ buildscript {
} }
dependencies { dependencies {
classpath "com.android.tools.build:gradle:7.1.2" classpath "com.android.tools.build:gradle:7.1.2"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.20"
classpath "org.jlleitschuh.gradle:ktlint-gradle:10.1.0" classpath "org.jlleitschuh.gradle:ktlint-gradle:10.1.0"
} }
} }