mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-21 11:35:45 +00:00
Add support for Bzlmod (#8494)
This commit is contained in:
19
extensions.bzl
Normal file
19
extensions.bzl
Normal file
@@ -0,0 +1,19 @@
|
||||
"""Bzlmod extensions"""
|
||||
|
||||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")
|
||||
|
||||
def _non_module_dependencies_impl(_ctx):
|
||||
"""Non module dependencies"""
|
||||
http_file(
|
||||
name = "bazel_linux_x86_64",
|
||||
downloaded_file_path = "bazel",
|
||||
executable = True,
|
||||
sha256 = "e78fc3394deae5408d6f49a15c7b1e615901969ecf6e50d55ef899996b0b8458",
|
||||
urls = [
|
||||
"https://github.com/bazelbuild/bazel/releases/download/6.3.2/bazel-6.3.2-linux-x86_64",
|
||||
],
|
||||
)
|
||||
|
||||
non_module_dependencies = module_extension(
|
||||
implementation = _non_module_dependencies_impl,
|
||||
)
|
||||
Reference in New Issue
Block a user