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: 677815481
  • Loading branch information
java-team-github-bot authored and Dagger Team committed Sep 23, 2024
1 parent 8023c7a commit 843a18e
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions java/dagger/hilt/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

load("@rules_java//java:defs.bzl", "java_library")
load("//:build_defs.bzl", "POM_VERSION")
load("//tools/maven:maven.bzl", "gen_maven_artifact")

Expand Down
2 changes: 2 additions & 0 deletions java/dagger/hilt/android/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

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

# Description:
# A library based on Hilt that provides standard components and automated injection for Android.
load("//:build_defs.bzl", "POM_VERSION")
Expand Down
2 changes: 2 additions & 0 deletions java/dagger/hilt/android/components/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# Description:
# Hilt Android components

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

package(default_visibility = ["//:src"])

android_library(
Expand Down
2 changes: 2 additions & 0 deletions java/dagger/hilt/android/internal/earlyentrypoint/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# Description:
# A processor that aggregates metadata about Hilt @EarlyEntryPoint annotations

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

package(default_visibility = ["//:src"])

java_library(
Expand Down
2 changes: 2 additions & 0 deletions java/dagger/hilt/android/internal/legacy/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# Description:
# Internal Hilt libraries for legacy code.

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

package(default_visibility = ["//:src"])

java_library(
Expand Down
2 changes: 2 additions & 0 deletions java/dagger/hilt/android/internal/testing/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# Description:
# Internal Hilt android testing libraries

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

package(default_visibility = ["//:src"])

java_library(
Expand Down
2 changes: 2 additions & 0 deletions java/dagger/hilt/android/internal/uninstallmodules/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# Description:
# A processor that aggregates metadata about Hilt @UninstallModules annotations

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

package(default_visibility = ["//:src"])

java_library(
Expand Down
1 change: 1 addition & 0 deletions java/dagger/hilt/android/lifecycle/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# Description:
# Hilt ViewModel integration.

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

package(default_visibility = ["//:src"])
Expand Down
2 changes: 2 additions & 0 deletions java/dagger/hilt/android/migration/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# Description:
# Helpers for migrating to Hilt.

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

package(default_visibility = ["//:src"])

android_library(
Expand Down
1 change: 1 addition & 0 deletions java/dagger/hilt/android/processor/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# Description:
# Hilt android processors.

load("@rules_java//java:defs.bzl", "java_library")
load("//:build_defs.bzl", "POM_VERSION")
load("//tools/maven:maven.bzl", "gen_maven_artifact")

Expand Down
2 changes: 2 additions & 0 deletions java/dagger/hilt/android/processor/internal/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# Description:
# Internal code for implementing Hilt android processors.

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

package(default_visibility = ["//:src"])

java_library(
Expand Down

0 comments on commit 843a18e

Please sign in to comment.