Skip to content

Commit aca7ee1

Browse files
committed
Add pnning mechanism and hard code workspace
1 parent fbd257c commit aca7ee1

File tree

3 files changed

+6
-1486
lines changed

3 files changed

+6
-1486
lines changed

examples/jetpack_compose/.bazelrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ build --define=android_dexmerger_tool=d8_dexmerger
44
# Flags for the D8 dexer
55
build --define=android_incremental_dexing_tool=d8_dexbuilder
66
build --define=android_standalone_dexing_tool=d8_compat_dx
7+
8+
common --enable_workspace=true --enable_bzlmod=false

examples/jetpack_compose/WORKSPACE

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ maven_install(
9090
resolver = "coursier" if KOTLINC_RELEASE.version == "1.9.22" else "maven",
9191
)
9292

93+
load("@maven//:defs.bzl", "pinned_maven_install")
94+
95+
pinned_maven_install()
96+
9397
http_archive(
9498
name = "bazel_skylib",
9599
sha256 = versions.SKYLIB_SHA,

0 commit comments

Comments
 (0)