From 78c0fb7d07a93252bf50cadeef721beafa653676 Mon Sep 17 00:00:00 2001 From: Ben Lee Date: Thu, 12 Sep 2024 15:25:42 -0700 Subject: [PATCH] Update released_rules_kotlin to 1.9.6 (#1215) --- MODULE.bazel | 1 - src/main/kotlin/io/bazel/kotlin/builder/BUILD | 6 ++---- src/main/starlark/core/repositories/versions.bzl | 4 ++-- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index a7cf644a8..95069801a 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -29,7 +29,6 @@ rules_kotlin_bootstrap_extensions = use_extension( ) use_repo( rules_kotlin_bootstrap_extensions, - "kt_java_stub_template", "released_com_github_google_ksp", "released_com_github_jetbrains_kotlin", ) diff --git a/src/main/kotlin/io/bazel/kotlin/builder/BUILD b/src/main/kotlin/io/bazel/kotlin/builder/BUILD index 565f2f297..ae71308a8 100644 --- a/src/main/kotlin/io/bazel/kotlin/builder/BUILD +++ b/src/main/kotlin/io/bazel/kotlin/builder/BUILD @@ -17,13 +17,11 @@ java_library( name = "builder", srcs = glob(["*.java"]), visibility = ["//src:__subpackages__"], - runtime_deps = [ - "//kotlin/compiler:kotlin-stdlib-jdk7", - "//kotlin/compiler:kotlin-stdlib-jdk8", - ], deps = [ "//kotlin/compiler:annotations", "//kotlin/compiler:kotlin-stdlib", + "//kotlin/compiler:kotlin-stdlib-jdk7", + "//kotlin/compiler:kotlin-stdlib-jdk8", "//src/main/kotlin/io/bazel/kotlin/builder/tasks", "//src/main/kotlin/io/bazel/kotlin/builder/toolchain", "//src/main/kotlin/io/bazel/kotlin/builder/utils", diff --git a/src/main/starlark/core/repositories/versions.bzl b/src/main/starlark/core/repositories/versions.bzl index 954b0aaed..0af31592e 100644 --- a/src/main/starlark/core/repositories/versions.bzl +++ b/src/main/starlark/core/repositories/versions.bzl @@ -94,11 +94,11 @@ versions = struct( ), # needed for rules_pkg and java RULES_KOTLIN = version( - version = "1.9.0", + version = "1.9.6", url_templates = [ "https://github.com/bazelbuild/rules_kotlin/releases/download/v{version}/rules_kotlin-v{version}.tar.gz", ], - sha256 = "5766f1e599acf551aa56f49dab9ab9108269b03c557496c54acaf41f98e2b8d6", + sha256 = "3b772976fec7bdcda1d84b9d39b176589424c047eb2175bed09aac630e50af43", ), # needed for rules_pkg and java RULES_PYTHON = version(