blob: 2bcb5e988f37cadb23675f371a17a548375c6d83 [file] [edit]
module(
name = "j2cl",
version = "v20250618",
bazel_compatibility = [">=8.3.1"],
)
bazel_dep(name = "bazel_skylib", version = "1.9.0")
bazel_dep(name = "bazel_worker_java", version = "0.0.5")
bazel_dep(name = "google_bazel_common", version = "0.0.1")
bazel_dep(name = "protobuf", version = "31.0")
bazel_dep(name = "rules_browsers", version = "0.4.0")
bazel_dep(name = "rules_closure", version = "0.18.0")
bazel_dep(name = "rules_java", version = "8.16.1")
bazel_dep(name = "rules_kotlin", version = "1.9.6")
bazel_dep(name = "rules_license", version = "1.0.0")
bazel_dep(name = "rules_python", version = "1.4.1")
bazel_dep(name = "rules_cc", version = "0.0.17")
# Maven dependencies.
bazel_dep(name = "rules_jvm_external", version = "6.6")
maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
maven.install(
artifacts = [
"args4j:args4j:2.33",
"com.google.j2objc:j2objc-annotations:1.3",
"com.google.escapevelocity:escapevelocity:1.1",
"com.google.code.gson:gson:2.10.1",
],
)
use_repo(maven, "maven")
http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_google_jsinterop_annotations-j2cl",
sha256 = "b91c16cccf3af0c0d8c084f32f9f5606359b74fec6edf7acfe1112556bbb1d1b",
strip_prefix = "jsinterop-annotations-7f74f35dae9016c0f244d3484c8e17b1bc6ddf4a",
urls = ["https://github.com/google/jsinterop-annotations/archive/7f74f35dae9016c0f244d3484c8e17b1bc6ddf4a.zip"],
)
http_archive(
name = "com_google_binaryen",
build_file = "@j2cl//build_defs/internal_do_not_use/binaryen:BUILD.binaryen",
integrity = "sha256-8lVeimjs1D04XlZDsOQyOpZT1tYYUASGQYYAP/UJC6c=",
patch_args = ["-p1"],
patches = ["@j2cl//build_defs/internal_do_not_use/binaryen:generate_intrinsics.patch"],
strip_prefix = "binaryen-6de3a0bd2655952d8e08db4d03a6c7b4a3d7fde3",
url = "https://github.com/WebAssembly/binaryen/archive/6de3a0bd2655952d8e08db4d03a6c7b4a3d7fde3.zip",
)
bazel_dep(name = "fp16", version = "0.0.0-20210320-0a92994")
# Dependencies needed for development.
bazel_dep(name = "rules_shell", version = "0.4.1", dev_dependency = True)