Skip to content

Commit

Permalink
Updated rules_kotlin to v1.9.5 (#370)
Browse files Browse the repository at this point in the history
Updates rules_kotlin from v1.8.1 to v1.9.5

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Łukasz Wawrzyk <[email protected]>
  • Loading branch information
github-actions[bot] and lukaszwawrzyk authored Apr 29, 2024
1 parent edf4820 commit 2a718fe
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("@io_bazel_rules_kotlin//kotlin:core.bzl", "define_kt_toolchain")
load("@io_bazel_rules_kotlin//kotlin:lint.bzl", "ktlint_config")
load("@rules_kotlin//kotlin:core.bzl", "define_kt_toolchain")
load("@rules_kotlin//kotlin:lint.bzl", "ktlint_config")

define_kt_toolchain(
name = "kotlin_toolchain",
Expand Down
12 changes: 6 additions & 6 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ http_archive(
url = "https://github.com/bazelbuild/rules_jvm_external/releases/download/5.2/rules_jvm_external-5.2.tar.gz",
)

IO_BAZEL_KOTLIN_RULES_TAG = "v1.8.1"
KOTLIN_RULES_TAG = "v1.9.5"

IO_BAZEL_KOTLIN_RULES_SHA = "a630cda9fdb4f56cf2dc20a4bf873765c41cf00e9379e8d59cd07b24730f4fde"
KOTLIN_RULES_SHA = "34e8c0351764b71d78f76c8746e98063979ce08dcf1a91666f3f3bc2949a533d"

http_archive(
name = "io_bazel_rules_kotlin",
sha256 = IO_BAZEL_KOTLIN_RULES_SHA,
url = "https://github.com/bazelbuild/rules_kotlin/releases/download/{}/rules_kotlin_release.tgz".format(IO_BAZEL_KOTLIN_RULES_TAG),
name = "rules_kotlin",
sha256 = KOTLIN_RULES_SHA,
url = "https://github.com/bazelbuild/rules_kotlin/releases/download/{}/rules_kotlin-{}.tar.gz".format(KOTLIN_RULES_TAG, KOTLIN_RULES_TAG),
)

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

kotlin_repositories()

Expand Down
2 changes: 1 addition & 1 deletion tools/build_rules/junit5.bzl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# based on JetBrains/bazel-bsp integration

load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_jvm_test")
load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_test")

# External dependencies & java_junit5_test rule

Expand Down
2 changes: 1 addition & 1 deletion tools/build_rules/lint.bzl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:lint.bzl", "ktlint_fix", "ktlint_test")
load("@rules_kotlin//kotlin:lint.bzl", "ktlint_fix", "ktlint_test")

def lint(srcs, name):
ktlint_test(
Expand Down
2 changes: 1 addition & 1 deletion tools/build_rules/rules.bzl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")
load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")
load("//tools/build_rules:lint.bzl", "lint")
load("//tools/build_rules:junit5.bzl", "kt_junit5_test")

Expand Down

0 comments on commit 2a718fe

Please sign in to comment.