From 36e4f1da1cb4ac2bde0ed6c5f181f9e168edc6e7 Mon Sep 17 00:00:00 2001 From: Fabian Meumertzheim Date: Sat, 27 Apr 2024 13:41:36 +0200 Subject: [PATCH] apple_support --- MODULE.bazel | 1 + WORKSPACE | 13 +++++++++++++ tests/MODULE.bazel | 1 + tests/WORKSPACE | 13 +++++++++++++ 4 files changed, 28 insertions(+) diff --git a/MODULE.bazel b/MODULE.bazel index 9bf414d..12b7a47 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -7,6 +7,7 @@ module( bazel_dep(name = "bazel_skylib", version = "1.3.0") bazel_dep(name = "platforms", version = "0.0.5") bazel_dep(name = "rules_license", version = "0.0.7") +bazel_dep(name = "apple_support", version = "1.15.1", repo_name = "build_bazel_apple_support", dev_dependency = True) download_jdk_deps = use_extension( "@rules_jni//bzlmod:extensions.bzl", diff --git a/WORKSPACE b/WORKSPACE index 5f0c6bd..f9a66fc 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -11,6 +11,19 @@ local_repository( path = "tests", ) +http_archive( + name = "build_bazel_apple_support", + sha256 = "c4bb2b7367c484382300aee75be598b92f847896fb31bbd22f3a2346adf66a80", + url = "https://github.com/bazelbuild/apple_support/releases/download/1.15.1/apple_support.1.15.1.tar.gz", +) + +load( + "@build_bazel_apple_support//lib:repositories.bzl", + "apple_support_dependencies", +) + +apple_support_dependencies() + http_archive( name = "rules_jvm_external", sha256 = "b17d7388feb9bfa7f2fa09031b32707df529f26c91ab9e5d909eb1676badd9a6", diff --git a/tests/MODULE.bazel b/tests/MODULE.bazel index ba77683..5a3f6f4 100644 --- a/tests/MODULE.bazel +++ b/tests/MODULE.bazel @@ -9,6 +9,7 @@ bazel_dep(name = "platforms", version = "0.0.4") bazel_dep(name = "rules_cc", version = "0.0.2") bazel_dep(name = "rules_java", version = "5.1.0") bazel_dep(name = "stardoc", version = "0.5.0", repo_name = "io_bazel_stardoc") +bazel_dep(name = "apple_support", version = "1.15.1", repo_name = "build_bazel_apple_support") cc_configure = use_extension("@bazel_tools//tools/cpp:cc_configure.bzl", "cc_configure_extension") use_repo(cc_configure, "local_config_cc") diff --git a/tests/WORKSPACE b/tests/WORKSPACE index 239ffaf..0cf5ab1 100644 --- a/tests/WORKSPACE +++ b/tests/WORKSPACE @@ -11,6 +11,19 @@ load("@fmeum_rules_jni//jni:repositories.bzl", "rules_jni_dependencies") rules_jni_dependencies() +http_archive( + name = "build_bazel_apple_support", + sha256 = "c4bb2b7367c484382300aee75be598b92f847896fb31bbd22f3a2346adf66a80", + url = "https://github.com/bazelbuild/apple_support/releases/download/1.15.1/apple_support.1.15.1.tar.gz", +) + +load( + "@build_bazel_apple_support//lib:repositories.bzl", + "apple_support_dependencies", +) + +apple_support_dependencies() + http_jar( name = "junit", sha256 = "8e495b634469d64fb8acfa3495a065cbacc8a0fff55ce1e31007be4c16dc57d3",