Skip to content

Commit

Permalink
chore(bzlmod): enable for android/firebase-cloud-messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Oct 30, 2023
1 parent 611827d commit 6568ef9
Show file tree
Hide file tree
Showing 5 changed files with 2,940 additions and 6 deletions.
1 change: 1 addition & 0 deletions android/firebase-cloud-messaging/.bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7.0.0rc2
23 changes: 23 additions & 0 deletions android/firebase-cloud-messaging/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
"Bazel dependencies"

bazel_dep(name = "platforms", version = "0.0.6")
bazel_dep(name = "rules_android", version = "0.1.1")
bazel_dep(name = "rules_jvm_external", version = "5.3")

maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
maven.install(
artifacts = [
"com.google.firebase:firebase-messaging:17.0.0",
"com.android.support:appcompat-v7:26.1.0",
"com.android.support.constraint:constraint-layout:1.0.2",
"com.google.code.gson:gson:2.8.2",
],
repositories = [
"https://maven.google.com",
"https://repo1.maven.org/maven2",
],
)
use_repo(maven, "maven")

remote_android_extensions = use_extension("@bazel_tools//tools/android:android_extensions.bzl", "remote_android_tools_extensions")
use_repo(remote_android_extensions, "android_gmaven_r8", "android_tools")
Loading

0 comments on commit 6568ef9

Please sign in to comment.