Skip to content

[Migrate](https://bazel.build/external/migration) to Bazel's ["new" module system](https://bazel.build/external/overview). - #1940

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_957336448
Jul 31, 2026
Merged

[Migrate](https://bazel.build/external/migration) to Bazel's ["new" module system](https://bazel.build/external/overview).#1940
copybara-service[bot] merged 1 commit into
masterfrom
test_957336448

Conversation

@copybara-service

Copy link
Copy Markdown

Migrate to Bazel's "new" module system.

My immediate win is that this includes migrating off the old version of bazel-common that includes google_common_workspace_rules(): Calling google_common_workspace_rules() leads to trouble under macos-latest (as previously in 1701108):

  ERROR: /Users/runner/work/guice/guice/WORKSPACE:26:30: fetching android_sdk_repository rule //external:androidsdk: Android SDK api level 34 was requested but it is not installed in the Android SDK at /Users/runner/Library/Android/sdk. The api levels found were [36, 35]. Please choose an available api level or install api level 34 from the Android SDK Manager.
  ERROR: Analysis of target '//tools:osgi_wrapper' failed; build aborted: Android SDK api level 34 was requested but it is not installed in the Android SDK at /Users/runner/Library/Android/sdk. The api levels found were [36, 35]. Please choose an available api level or install api level 34 from the Android SDK Manager.

RELNOTES=n/a

…odule system](https://bazel.build/external/overview).

My immediate win is that this includes migrating off the old version of bazel-common that includes `google_common_workspace_rules()`: Calling `google_common_workspace_rules()` leads to trouble under macos-latest (as previously in 1701108):

```
  ERROR: /Users/runner/work/guice/guice/WORKSPACE:26:30: fetching android_sdk_repository rule //external:androidsdk: Android SDK api level 34 was requested but it is not installed in the Android SDK at /Users/runner/Library/Android/sdk. The api levels found were [36, 35]. Please choose an available api level or install api level 34 from the Android SDK Manager.
  ERROR: Analysis of target '//tools:osgi_wrapper' failed; build aborted: Android SDK api level 34 was requested but it is not installed in the Android SDK at /Users/runner/Library/Android/sdk. The api levels found were [36, 35]. Please choose an available api level or install api level 34 from the Android SDK Manager.
```

RELNOTES=n/a
PiperOrigin-RevId: 957370304
@copybara-service
copybara-service Bot merged commit 174317a into master Jul 31, 2026
2 checks passed
@copybara-service
copybara-service Bot deleted the test_957336448 branch July 31, 2026 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant