File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ def _scala_generate_benchmark(ctx):
39
39
40
40
# just try to take the first one and see if that works
41
41
class_jar = outs [0 ].class_jar
42
- classpath = info .transitive_runtime_deps
42
+ classpath = info .transitive_runtime_jars
43
43
ctx .actions .run (
44
44
outputs = [ctx .outputs .src_jar , ctx .outputs .resource_jar ],
45
45
inputs = classpath ,
Original file line number Diff line number Diff line change @@ -136,7 +136,10 @@ def make_scala_junit_test(*extras):
136
136
* [extra ["outputs" ] for extra in extras if "outputs" in extra ]
137
137
),
138
138
test = True ,
139
- toolchains = ["@io_bazel_rules_scala//scala:toolchain_type" ],
139
+ toolchains = [
140
+ "@io_bazel_rules_scala//scala:toolchain_type" ,
141
+ "@bazel_tools//tools/jdk:toolchain_type" ,
142
+ ],
140
143
incompatible_use_toolchain_transition = True ,
141
144
implementation = _scala_junit_test_impl ,
142
145
)
You can’t perform that action at this time.
0 commit comments