Skip to content

Commit

Permalink
Force kotlinc 1.4.21, required by Compose 1.0.0-alpha09
Browse files Browse the repository at this point in the history
  • Loading branch information
Kernald committed Feb 23, 2021
1 parent 1914559 commit 487253a
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions examples/jetpack_compose/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,15 @@ local_repository(
path = "../..",
)

load("@io_bazel_rules_kotlin//kotlin:dependencies.bzl", "kt_download_local_dev_dependencies")

kt_download_local_dev_dependencies()

load("@io_bazel_rules_kotlin//kotlin:kotlin.bzl", "kotlin_repositories", "kt_register_toolchains")

kotlin_repositories()
kotlin_repositories(
compiler_release = {
"sha256": "bb1a21d70e521a01ae104e99a082a6e7bb58699b86347049da521d1aad0dace7",
"urls": [
"https://github.com/JetBrains/kotlin/releases/download/v1.4.21/kotlin-compiler-1.4.21.zip",
],
},
)

register_toolchains("//:kotlin_toolchain")

0 comments on commit 487253a

Please sign in to comment.