Skip to content

Commit

Permalink
Bump Kotlin version in Bazel config
Browse files Browse the repository at this point in the history
Avoids this issue bazelbuild/rules_kotlin#504
  • Loading branch information
tinder-maxwellelliott committed Oct 14, 2021
1 parent 8a64284 commit 2a7e0ee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ load("//bazel_support:constants.bzl", "MAVEN_ARTIFACTS")

gitquery_dependencies()

load("@io_bazel_rules_kotlin//kotlin:kotlin.bzl", "kotlin_repositories", "kt_register_toolchains")
kotlin_repositories() # if you want the default. Otherwise see custom kotlinc distribution below
kt_register_toolchains() # to use the default toolchain, otherwise see toolchains below
load("@io_bazel_rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories")
kotlin_repositories()

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

load("@rules_jvm_external//:defs.bzl", "maven_install")

Expand Down
4 changes: 2 additions & 2 deletions bazel_support/constants.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Constants used in GitQuery configs
RULES_JVM_EXTERNAL_TAG = "4.0"
RULES_JVM_EXTERNAL_SHA = "31701ad93dbfe544d597dbe62c9a1fdd76d81d8a9150c2bf1ecf928ecdf97169"

RULES_KOTLIN_VERSION = "v1.5.0-alpha-3"
RULES_KOTLIN_SHA = "eeae65f973b70896e474c57aa7681e444d7a5446d9ec0a59bb88c59fc263ff62"
RULES_KOTLIN_VERSION = "v1.5.0-beta-4"
RULES_KOTLIN_SHA = "6cbd4e5768bdfae1598662e40272729ec9ece8b7bded8f0d2c81c8ff96dc139d"

MAVEN_ARTIFACTS = [
"org.yaml:snakeyaml:1.27",
Expand Down

0 comments on commit 2a7e0ee

Please sign in to comment.