Skip to content

Commit

Permalink
Load the builtin Bazel java rules from @rules_java
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 677771757
  • Loading branch information
copybara-androidxtest committed Sep 24, 2024
1 parent dc1b017 commit 60a72c4
Show file tree
Hide file tree
Showing 18 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
load("@rules_java//java:defs.bzl", "java_library")

java_library(
name = "jar1",
srcs = ["Jar1Class.java"],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
load("@rules_java//java:defs.bzl", "java_library")

java_library(
name = "matching",
srcs = ["matching/Matching.java"],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Description:
# Internal package that will contain shaded dagger classes for external release

load("@rules_java//java:defs.bzl", "java_library")

licenses(["notice"])

package(
Expand Down
1 change: 1 addition & 0 deletions espresso/idling_resource/java/androidx/test/espresso/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# asynchronous background work to happen during test execution.

load("@build_bazel_rules_android//android:rules.bzl", "android_library")
load("@rules_java//java:defs.bzl", "java_library")
load("//build_extensions:api_checks.bzl", "api_checks")
load("//build_extensions:dackka_test.bzl", "dackka_test")
load("//build_extensions/maven:axt_android_aar.bzl", "axt_android_aar")
Expand Down
2 changes: 2 additions & 0 deletions espresso/remote/java/androidx/test/espresso/proto/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Protocol buffer definitions for remote UI interactions

load("@rules_java//java:defs.bzl", "java_library")

licenses(["notice"])

package(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Protocol buffer definitions for remote UI interactions view matchers

load("@rules_java//java:defs.bzl", "java_library")

licenses(["notice"])

package(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Protocol buffer definitions for remote view assertions

load("@rules_java//java:defs.bzl", "java_library")

licenses(["notice"])

package(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Protocol buffer definitions for remote root, view and hamcrest matchers (v1.3)

load("@rules_java//java:defs.bzl", "java_library")

licenses(["notice"])

package(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Espresso Web Actions

load("@build_bazel_rules_android//android:rules.bzl", "android_library")
load("@rules_java//java:defs.bzl", "java_library")

licenses(["notice"])

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Espresso Web Assertion

load("@build_bazel_rules_android//android:rules.bzl", "android_library")
load("@rules_java//java:defs.bzl", "java_library")

licenses(["notice"])

Expand Down
2 changes: 2 additions & 0 deletions espresso/remote/java/androidx/test/espresso/web/proto/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Protocol buffer definitions for web remote UI interactions

load("@rules_java//java:defs.bzl", "java_library")

licenses(["notice"])

package(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Protocol buffer definitions for remote web actions

load("@rules_java//java:defs.bzl", "java_library")

licenses(["notice"])

package(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Protocol buffer definitions for remote web assertions

load("@rules_java//java:defs.bzl", "java_library")

licenses(["notice"])

package(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Protocol buffer definitions for remote web matchers

load("@rules_java//java:defs.bzl", "java_library")

licenses(["notice"])

package(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Protocol buffer definitions for remote web model atoms

load("@rules_java//java:defs.bzl", "java_library")

licenses(["notice"])

package(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Protocol buffer definitions for remote web sugar atoms

load("@rules_java//java:defs.bzl", "java_library")

licenses(["notice"])

package(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Protocol buffer definitions for remote web driver atoms

load("@rules_java//java:defs.bzl", "java_library")

licenses(["notice"])

package(
Expand Down
2 changes: 2 additions & 0 deletions ext/truth/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Publicly visible truth extensions for Android

load("@rules_java//java:defs.bzl", "java_library")

package(default_applicable_licenses = ["//:license"])

licenses(["notice"])
Expand Down

0 comments on commit 60a72c4

Please sign in to comment.