File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ load("@bazel_skylib//rules:write_file.bzl", "write_file")
2
2
load ("@build_bazel_rules_nodejs//:index.bzl" , "copy_to_bin" )
3
3
load ("@npm//react-scripts:index.bzl" , "react_scripts" , "react_scripts_test" )
4
4
load ("//common:defs.bzl" , "zip_file" )
5
+ load ("//java:defs.bzl" , "merge_jars" )
5
6
6
7
_RUNTIME_DEPS = [
7
8
"chdir.cjs" ,
@@ -64,16 +65,19 @@ react_scripts(
64
65
)
65
66
66
67
zip_file (
67
- name = "react_zip" ,
68
- srcs = [
69
- ":build" ,
70
- ],
68
+ name = "react-zip" ,
69
+ srcs = [":build" ],
71
70
extension = "jar" ,
72
71
)
73
72
73
+ merge_jars (
74
+ name = "add-missing-dirs" ,
75
+ inputs = [":react-zip" ],
76
+ )
77
+
74
78
java_import (
75
79
name = "react_jar" ,
76
- jars = ["react_zip " ],
80
+ jars = [":add-missing-dirs " ],
77
81
visibility = [
78
82
"//java/src/org/openqa/selenium/grid:__pkg__" ,
79
83
],
You can’t perform that action at this time.
0 commit comments