From fa90b22fcb51ac440b16265c978ba859d073b2de Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Wed, 1 Feb 2023 14:13:39 +0100 Subject: [PATCH] build: correct toolchain order see https://github.com/bazelbuild/bazel-gazelle/issues/1290#issuecomment-1312809060 Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- WORKSPACE.bazel | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index 9b138edd65..642c6f1981 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -2,17 +2,6 @@ load("//toolchains:java_deps.bzl", "java_deps") java_deps() -# proto toolchain -load("//toolchains:proto_deps.bzl", "proto_deps") - -proto_deps() - -load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains") - -rules_proto_dependencies() - -rules_proto_toolchains() - # Go toolchain load("//toolchains:go_rules_deps.bzl", "go_deps") @@ -33,6 +22,17 @@ gazelle_dependencies(go_repository_default_config = "//:WORKSPACE.bazel") # gazelle:repo bazel_gazelle +# proto toolchain +load("//toolchains:proto_deps.bzl", "proto_deps") + +proto_deps() + +load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains") + +rules_proto_dependencies() + +rules_proto_toolchains() + # dnf / rpm toolchain load("//toolchains:dnf_deps.bzl", "dnf_deps")