Skip to content

Commit

Permalink
feat: Add Java microgen rules to imports
Browse files Browse the repository at this point in the history
  • Loading branch information
miraleung authored Sep 22, 2020
1 parent 8d73f94 commit aaac658
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions repository_rules.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,24 @@ def switched_rules_by_language(
"@com_google_api_codegen//rules_gapic/java:java_gapic_pkg.bzl",
)

# Java microgenerator.
# These will eventually replace the monolith Java rules.
rules["java_microgenerator_gapic_library"] = _switch(
java and grpc and gapic,
"@com_google_api_generator//rules_java_gapic:java_gapic.bzl",
"java_gapic_library",
)
rules["java_microgenerator_gapic_test"] = _switch(
java and grpc and gapic,
"@com_google_api_generator//rules_java_gapic:java_gapic.bzl",
"java_gapic_test",
)
rules["java_microgenerator_gapic_assembly_gradle_pkg"] = _switch(
java and grpc and gapic,
"@com_google_api_generator//rules_java_gapic:java_gapic_pkg.bzl",
"java_gapic_assembly_gradle_pkg",
)

#
# Python
#
Expand Down

0 comments on commit aaac658

Please sign in to comment.