Back to Bazel

Repository Rule

docs/versions/8.4.0/rules/lib/builtins/repository_rule.mdx

9.1.0837 B
Original Source
<html devsite> <head> <meta name="project_path" value="/_project.yaml"> <meta name="book_path" value="/versions/8.4.0/_book.yaml"> </head> <body> <h1 class="page-title" id="modules.repository_rule">repository_rule</h1>

{% dynamic setvar source_file "src/main/java/com/google/devtools/build/lib/bazel/repository/starlark/StarlarkRepositoryModule.java" %} {% dynamic setvar version "8.4.0" %} {% dynamic setvar original_path "/rules/lib/builtins/repository_rule" %} {% include "_buttons.html" %}

<!-- {% raw %} -->

A callable value that may be invoked during evaluation of the WORKSPACE file or within the implementation function of a module extension to instantiate and return a repository rule. Created by <a href="../globals/bzl.html#repository_rule"><code>repository_rule()</code></a>.

</body> </html> <!-- {% endraw %} -->