From 51b909d9e073563d2630075b8a6bda715f637bf0 Mon Sep 17 00:00:00 2001 From: David Ostrovsky Date: Mon, 10 Jan 2022 20:56:24 +0100 Subject: [PATCH] Adapt junit_tests invocation to removal of resource_jars attribute 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.jgit.gpg.bc.test/BUILD b/org.eclipse.jgit.gpg.bc.test/BUILD index 35b125f21e..3e8908b4e2 100644 --- a/org.eclipse.jgit.gpg.bc.test/BUILD +++ b/org.eclipse.jgit.gpg.bc.test/BUILD @@ -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", -- 2.39.5