@@ -64,7 +64,7 @@ First you must [install Bazel].
6464Then you add the following to your MODULE.bazel file:
6565
6666``` bzl
67- bazel_dep(name = " io_bazel_rules_closure " , version = " 0.15.0" )
67+ bazel_dep(name = " rules_closure " , version = " 0.15.0" )
6868```
6969The root module has to declare the same override for rules_webtesting,
7070rules_scala, and google_bazel_common temporarily until they are registered
@@ -88,7 +88,7 @@ Please see the test directories within this project for concrete examples of usa
8888## closure\_ js\_ library
8989
9090``` starlark
91- load(" @io_bazel_rules_closure //closure:defs.bzl" , " closure_js_library" )
91+ load(" @rules_closure //closure:defs.bzl" , " closure_js_library" )
9292closure_js_library(name, srcs, data, deps, exports, suppress, convention,
9393 no_closure_library)
9494```
@@ -188,7 +188,7 @@ This rule can be referenced as though it were the following:
188188## closure\_ js\_ binary
189189
190190``` starlark
191- load(" @io_bazel_rules_closure //closure:defs.bzl" , " closure_js_binary" )
191+ load(" @rules_closure //closure:defs.bzl" , " closure_js_binary" )
192192closure_js_binary(name, deps, css, debug, language, entry_points,
193193 dependency_mode, compilation_level, formatting,
194194 output_wrapper, property_renaming_report, defs)
@@ -301,7 +301,7 @@ This rule can be referenced as though it were the following:
301301- ** defs:** (List of strings; optional) Specifies additional flags to be passed
302302 to the Closure Compiler, e.g. ` "--hide_warnings_for=some/path/" ` . To see what
303303 flags are available, run:
304- ` bazel run @io_bazel_rules_closure //third_party/java/jscomp:main -- --help `
304+ ` bazel run @rules_closure //third_party/java/jscomp:main -- --help `
305305
306306### Support for AngularJS
307307
@@ -322,7 +322,7 @@ closure_js_binary(
322322## closure\_ js\_ test
323323
324324``` starlark
325- load(" @io_bazel_rules_closure //closure:defs.bzl" , " closure_js_test" )
325+ load(" @rules_closure //closure:defs.bzl" , " closure_js_test" )
326326closure_js_test(name, srcs, data, deps, css, html, language, suppress,
327327 compilation_level, entry_points, defs)
328328```
@@ -394,7 +394,7 @@ This rule can be referenced as though it were the following:
394394## phantomjs\_ test
395395
396396``` starlark
397- load(" @io_bazel_rules_closure //closure:defs.bzl" , " phantomjs_test" )
397+ load(" @rules_closure //closure:defs.bzl" , " phantomjs_test" )
398398phantomjs_test(name, data, deps, html, harness, runner)
399399```
400400
@@ -423,17 +423,17 @@ This rule can be referenced as though it were the following:
423423 ` <script> ` tag based on a depth-first preordering.
424424
425425- ** html:** (Label; optional; default is
426- ` "@io_bazel_rules_closure //closure/testing:empty.html" ` ) HTML file containing
426+ ` "@rules_closure //closure/testing:empty.html" ` ) HTML file containing
427427 DOM structure of virtual web page * before* ` <script> ` tags are automatically
428428 inserted. Do not include a doctype in this file.
429429
430430- ** harness:** (Label; required; default is
431- ` "@io_bazel_rules_closure //closure/testing:phantomjs_harness" ` ) JS binary or
431+ ` "@rules_closure //closure/testing:phantomjs_harness" ` ) JS binary or
432432 library exporting a single source file, to be used as the PhantomJS outer
433433 script.
434434
435435- ** runner:** (Label; optional; default is
436- ` "@io_bazel_rules_closure //closure/testing:phantomjs_jsunit_runner" ` ) Same as
436+ ` "@rules_closure //closure/testing:phantomjs_jsunit_runner" ` ) Same as
437437 ` deps ` but guaranteed to be loaded inside the virtual web page last. This
438438 should run whatever tests got loaded by ` deps ` and then invoke ` callPhantom `
439439 to report the result to the ` harness ` .
@@ -442,7 +442,7 @@ This rule can be referenced as though it were the following:
442442## closure\_ css\_ library
443443
444444``` starlark
445- load(" @io_bazel_rules_closure //closure:defs.bzl" , " closure_css_library" )
445+ load(" @rules_closure //closure:defs.bzl" , " closure_css_library" )
446446closure_css_library(name, srcs, data, deps)
447447```
448448
@@ -505,7 +505,7 @@ This rule can be referenced as though it were the following:
505505## closure\_ css\_ binary
506506
507507``` starlark
508- load(" @io_bazel_rules_closure //closure:defs.bzl" , " closure_css_binary" )
508+ load(" @rules_closure //closure:defs.bzl" , " closure_css_binary" )
509509closure_css_binary(name, deps, renaming, debug, defs)
510510```
511511
0 commit comments