Skip to content

Commit

Permalink
Add support for new Kotlin JVM IR Backend
Browse files Browse the repository at this point in the history
  • Loading branch information
nazmulidris committed Mar 12, 2021
1 parent 0cc18a4 commit c28cf74
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ dependencies {
implementation(kotlin("reflect"))
}

// Enable the new Kotlin IR JVM Backend
// More info: https://blog.jetbrains.com/kotlin/2021/02/the-jvm-backend-is-in-beta-let-s-make-it-stable-together/
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
kotlinOptions {
useIR = true
}
}

// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
// Information on IJ versions https://www.jetbrains.org/intellij/sdk/docs/reference_guide/intellij_artifacts.html
Expand Down

0 comments on commit c28cf74

Please sign in to comment.