Skip to content

Commit

Permalink
build: upgrade Kotlin and turn on IR compiler
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Shashank Baghel <[email protected]>
  • Loading branch information
msfjarvis authored and radcolor committed Apr 7, 2021
1 parent 159f07c commit 149f741
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ buildscript {
fragmentVersion = '1.3.0'
jsr305Version = '3.0.2'
junitVersion = '4.13.1'
kotlinVersion = '1.4.30'
kotlinVersion = '1.4.31'
lifecycleRuntimeKtxVersion = '2.3.0'
materialComponentsVersion = '1.3.0'
preferenceVersion = '1.1.1'
Expand Down
1 change: 1 addition & 0 deletions ui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,6 @@ tasks.withType(JavaCompile) {
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8
useIR = true
}
}

0 comments on commit 149f741

Please sign in to comment.