From: David Ostrovsky Date: Mon, 10 Jan 2022 19:56:24 +0000 (+0100) Subject: Adapt junit_tests invocation to removal of resource_jars attribute X-Git-Tag: v6.1.0.202202221755-m3~63 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=51b909d9e073563d2630075b8a6bda715f637bf0;p=jgit.git 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 --- 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",