Search in sources :

Example 1 with MavenServerFunction

use of com.google.devtools.build.lib.bazel.repository.MavenServerFunction in project bazel by bazelbuild.

the class BazelRepositoryModule method workspaceInit.

@Override
public void workspaceInit(BlazeDirectories directories, WorkspaceBuilder builder) {
    builder.addCustomDirtinessChecker(REPOSITORY_VALUE_CHECKER);
    // Create the repository function everything flows through.
    builder.addSkyFunction(SkyFunctions.REPOSITORY, new RepositoryLoaderFunction());
    builder.addSkyFunction(SkyFunctions.REPOSITORY_DIRECTORY, delegator);
    builder.addSkyFunction(MavenServerFunction.NAME, new MavenServerFunction());
    filesystem = directories.getFileSystem();
}
Also used : RepositoryLoaderFunction(com.google.devtools.build.lib.rules.repository.RepositoryLoaderFunction) MavenServerFunction(com.google.devtools.build.lib.bazel.repository.MavenServerFunction)

Aggregations

MavenServerFunction (com.google.devtools.build.lib.bazel.repository.MavenServerFunction)1 RepositoryLoaderFunction (com.google.devtools.build.lib.rules.repository.RepositoryLoaderFunction)1