Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load the builtin Bazel java rules from @rules_java #2287

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading