]> source.dussan.org Git - jgit.git/commitdiff
Adapt junit_tests invocation to removal of resource_jars attribute 51/189451/3
authorDavid Ostrovsky <david@ostrovsky.org>
Mon, 10 Jan 2022 19:56:24 +0000 (20:56 +0100)
committerDavid Ostrovsky <david@ostrovsky.org>
Wed, 19 Jan 2022 17:39:32 +0000 (18:39 +0100)
In upcoming Bazel release 5.0 resource_jars attribute was removed: [1].
Replace resource_jars with runtime_deps as recommended in the release
notes.

[1] https://github.com/bazelbuild/bazel/issues/13221

Change-Id: Iab834d647cf63259ca182adc1f862b6001db0cce

org.eclipse.jgit.gpg.bc.test/BUILD

index 35b125f21ed61c58798030e4c2e80377cc3861dd..3e8908b4e278ee2073aa80d535bbed1d1c418112 100644 (file)
@@ -10,7 +10,7 @@ load(
 junit_tests(
     name = "bc",
     srcs = glob(["tst/**/*.java"]),
-    resource_jars = [":tst_rsrc"],
+    runtime_deps = [":tst_rsrc"],
     tags = ["bc"],
     deps = [
         "//lib:bcpg",