From d745aa529e636ea7e071767f64d0673139c9f597 Mon Sep 17 00:00:00 2001 From: Corbin McNeely-Smith <58151731+restingbull@users.noreply.github.com> Date: Fri, 8 Dec 2023 11:35:10 -0600 Subject: [PATCH] Fix non-bzlmod, format --- src/main/kotlin/bootstrap.bzl | 2 +- src/main/starlark/core/repositories/setup.bzl | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/bootstrap.bzl b/src/main/kotlin/bootstrap.bzl index c80baf776..20a45b3e8 100644 --- a/src/main/kotlin/bootstrap.bzl +++ b/src/main/kotlin/bootstrap.bzl @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. load("@released_rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library") -load("@rules_java//java:defs.bzl", "java_binary", "java_import") +load("@rules_java//java:defs.bzl", "java_binary") load("//third_party:jarjar.bzl", "jar_jar") _BOOTSTRAP_LIB_ARGS = ["-jvm-target", "1.8"] diff --git a/src/main/starlark/core/repositories/setup.bzl b/src/main/starlark/core/repositories/setup.bzl index eb19270bc..624c26018 100644 --- a/src/main/starlark/core/repositories/setup.bzl +++ b/src/main/starlark/core/repositories/setup.bzl @@ -21,6 +21,8 @@ load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_ def kt_configure(): """Setup dependencies. Must be called AFTER kt_download_local_dev_dependencies() """ + native.register_toolchains("@released_rules_kotlin//kotlin/internal:default_toolchain") + maven_install( name = "kotlin_rules_maven", fetch_sources = True,