@@ -626,8 +626,8 @@ private void addOverride(String moduleName, ModuleOverride override) throws Eval
626
626
doc =
627
627
"Specifies that a dependency should still come from a registry, but its version should"
628
628
+ " be pinned, or its registry overridden, or a list of patches applied. This"
629
- + " directive can only be used by the root module; in other words, if a module"
630
- + " specifies any overrides, it cannot be used as a dependency by others." ,
629
+ + " directive only takes effect in the root module; in other words, if a module"
630
+ + " is used as a dependency by others, its own overrides are ignored ." ,
631
631
parameters = {
632
632
@ Param (
633
633
name = "module_name" ,
@@ -708,9 +708,9 @@ public void singleVersionOverride(
708
708
"Specifies that a dependency should still come from a registry, but multiple versions of"
709
709
+ " it should be allowed to coexist. See <a"
710
710
+ " href=\" /external/module#multiple-version_override\" >the documentation</a> for"
711
- + " more details. This directive can only be used by the root module; in other words, "
712
- + " if a module specifies any overrides, it cannot be used as a dependency by "
713
- + " others." ,
711
+ + " more details. This"
712
+ + " directive only takes effect in the root module; in other words, if a module "
713
+ + " is used as a dependency by others, its own overrides are ignored ." ,
714
714
parameters = {
715
715
@ Param (
716
716
name = "module_name" ,
@@ -760,9 +760,9 @@ public void multipleVersionOverride(String moduleName, Iterable<?> versions, Str
760
760
name = "archive_override" ,
761
761
doc =
762
762
"Specifies that this dependency should come from an archive file (zip, gzip, etc) at a"
763
- + " certain location, instead of from a registry. This directive can only be used by "
764
- + " the root module; in other words, if a module specifies any overrides, it cannot "
765
- + " be used as a dependency by others." ,
763
+ + " certain location, instead of from a registry. This"
764
+ + " directive only takes effect in the root module; in other words, if a module"
765
+ + " is used as a dependency by others, its own overrides are ignored ." ,
766
766
parameters = {
767
767
@ Param (
768
768
name = "module_name" ,
@@ -844,8 +844,8 @@ public void archiveOverride(
844
844
name = "git_override" ,
845
845
doc =
846
846
"Specifies that a dependency should come from a certain commit of a Git repository. This"
847
- + " directive can only be used by the root module; in other words, if a module"
848
- + " specifies any overrides, it cannot be used as a dependency by others." ,
847
+ + " directive only takes effect in the root module; in other words, if a module"
848
+ + " is used as a dependency by others, its own overrides are ignored ." ,
849
849
parameters = {
850
850
@ Param (
851
851
name = "module_name" ,
@@ -911,8 +911,8 @@ public void gitOverride(
911
911
name = "local_path_override" ,
912
912
doc =
913
913
"Specifies that a dependency should come from a certain directory on local disk. This"
914
- + " directive can only be used by the root module; in other words, if a module"
915
- + " specifies any overrides, it cannot be used as a dependency by others." ,
914
+ + " directive only takes effect in the root module; in other words, if a module"
915
+ + " is used as a dependency by others, its own overrides are ignored ." ,
916
916
parameters = {
917
917
@ Param (
918
918
name = "module_name" ,
0 commit comments