From 2a718fe583dda54e6c12a03b7dc501ac5caef0f3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 14:16:47 +0000 Subject: [PATCH] Updated rules_kotlin to v1.9.5 (#370) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- BUILD | 4 ++-- WORKSPACE | 12 ++++++------ tools/build_rules/junit5.bzl | 2 +- tools/build_rules/lint.bzl | 2 +- tools/build_rules/rules.bzl | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/BUILD b/BUILD index 9ef0e657..a4e387ed 100644 --- a/BUILD +++ b/BUILD @@ -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", diff --git a/WORKSPACE b/WORKSPACE index b9b719db..db6e0ec8 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -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() diff --git a/tools/build_rules/junit5.bzl b/tools/build_rules/junit5.bzl index 7ebde93f..a03a2312 100644 --- a/tools/build_rules/junit5.bzl +++ b/tools/build_rules/junit5.bzl @@ -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 diff --git a/tools/build_rules/lint.bzl b/tools/build_rules/lint.bzl index cd82cab0..32e546a2 100644 --- a/tools/build_rules/lint.bzl +++ b/tools/build_rules/lint.bzl @@ -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( diff --git a/tools/build_rules/rules.bzl b/tools/build_rules/rules.bzl index d8d4f281..4ef67b81 100644 --- a/tools/build_rules/rules.bzl +++ b/tools/build_rules/rules.bzl @@ -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")