build: upgrade Kotlin and turn on IR compiler
Kotlin has been building a new JVM backend for a while now and it is finally in Beta, scheduled to hit stable in Kotlin 1.4.50. This is the time to enable it and report any bugs we hit, before it becomes the default. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
b8870f3599
commit
ea9ef4af24
@ -15,7 +15,7 @@ buildscript {
|
|||||||
fragmentVersion = '1.3.0'
|
fragmentVersion = '1.3.0'
|
||||||
jsr305Version = '3.0.2'
|
jsr305Version = '3.0.2'
|
||||||
junitVersion = '4.13.1'
|
junitVersion = '4.13.1'
|
||||||
kotlinVersion = '1.4.30'
|
kotlinVersion = '1.4.31'
|
||||||
lifecycleRuntimeKtxVersion = '2.3.0'
|
lifecycleRuntimeKtxVersion = '2.3.0'
|
||||||
materialComponentsVersion = '1.3.0'
|
materialComponentsVersion = '1.3.0'
|
||||||
preferenceVersion = '1.1.1'
|
preferenceVersion = '1.1.1'
|
||||||
|
@ -84,5 +84,6 @@ tasks.withType(JavaCompile) {
|
|||||||
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
|
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
jvmTarget = JavaVersion.VERSION_1_8
|
jvmTarget = JavaVersion.VERSION_1_8
|
||||||
|
useIR = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user