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 d62d17c
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": "46720991a716e90bfc0cf3f2c81b2bd735c14f4ea6a5064c488e04fd76e6b6c7",
"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 d62d17c

Please sign in to comment.