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
This commit is contained in:
David Ostrovsky 2022-01-10 20:56:24 +01:00
parent 56f45e36dc
commit 51b909d9e0
1 changed files with 1 additions and 1 deletions

View 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",