-
-
Notifications
You must be signed in to change notification settings - Fork 516
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update rules_jvm_external to latest (5.3) (#360)
For bazelbuild/bazel#17032 (eliminate dependencies on `cfg = "host"`)
- Loading branch information
1 parent
b498bb1
commit ca3f576
Showing
9 changed files
with
102 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
"Bazel dependencies" | ||
|
||
bazel_dep(name = "platforms", version = "0.0.6") | ||
bazel_dep(name = "rules_jvm_external", version = "5.3") | ||
|
||
maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven") | ||
maven.install( | ||
artifacts = [ | ||
"androidx.appcompat:appcompat:1.5.1", | ||
# Jetpack Compose Dependencies | ||
"androidx.activity:activity-compose:1.6.0", | ||
"androidx.compose.material:material:1.2.1", | ||
"androidx.compose.ui:ui:1.2.1", | ||
"androidx.compose.ui:ui-tooling:1.2.1", | ||
"androidx.compose.compiler:compiler:1.3.2", | ||
"androidx.compose.runtime:runtime:1.2.1", | ||
# Dependencies needed to manage version conflicts | ||
"androidx.core:core:1.6.0", | ||
"androidx.core:core-ktx:1.6.0", | ||
"androidx.savedstate:savedstate-ktx:1.2.0", | ||
"androidx.savedstate:savedstate:1.2.0", | ||
"androidx.lifecycle:lifecycle-livedata-core-ktx:2.5.1", | ||
"androidx.lifecycle:lifecycle-livedata-core:2.5.1", | ||
"androidx.lifecycle:lifecycle-livedata:2.5.1", | ||
"androidx.lifecycle:lifecycle-process:2.5.1", | ||
"androidx.lifecycle:lifecycle-runtime-ktx:2.5.1", | ||
"androidx.lifecycle:lifecycle-runtime:2.5.1", | ||
"androidx.lifecycle:lifecycle-service:2.5.1", | ||
"androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1", | ||
"androidx.lifecycle:lifecycle-viewmodel-savedstate:2.5.1", | ||
"androidx.lifecycle:lifecycle-viewmodel:2.5.1", | ||
], | ||
repositories = [ | ||
"https://maven.google.com", | ||
"https://repo1.maven.org/maven2", | ||
], | ||
) | ||
use_repo(maven, "maven") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
"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 = [ | ||
"androidx.appcompat:appcompat:1.5.1", | ||
"androidx.constraintlayout:constraintlayout:2.1.4", | ||
# Needed to enforce version conflict resolution | ||
"androidx.savedstate:savedstate:1.2.0", | ||
"androidx.lifecycle:lifecycle-livedata-core:2.5.1", | ||
"androidx.lifecycle:lifecycle-livedata:2.5.1", | ||
"androidx.lifecycle:lifecycle-process:2.5.1", | ||
"androidx.lifecycle:lifecycle-runtime:2.5.1", | ||
"androidx.lifecycle:lifecycle-service:2.5.1", | ||
"androidx.lifecycle:lifecycle-viewmodel-savedstate:2.5.1", | ||
"androidx.lifecycle:lifecycle-viewmodel:2.5.1", | ||
], | ||
repositories = [ | ||
"https://maven.google.com", | ||
"https://repo1.maven.org/maven2", | ||
], | ||
) | ||
use_repo(maven, "maven") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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_jvm_external", version = "5.3") | ||
|
||
maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven") | ||
maven.install( | ||
artifacts = [ | ||
"org.robolectric:robolectric:4.9", | ||
"junit:junit:4.13.2", | ||
"com.google.truth:truth:1.1.3", | ||
"org.jetbrains.kotlin:kotlin-stdlib-common:1.7.10", | ||
"org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.10", | ||
"org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10", | ||
"org.jetbrains.kotlin:kotlin-stdlib:1.7.10", | ||
], | ||
repositories = [ | ||
"https://maven.google.com", | ||
"https://repo1.maven.org/maven2", | ||
], | ||
) | ||
|
||
use_repo(maven, "maven") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters