Skip to content

Toolchain upgrade #2360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Toolchain upgrade #2360

wants to merge 8 commits into from

Conversation

brettchabot
Copy link
Collaborator

@brettchabot brettchabot commented Mar 19, 2025

Upgrade build toolchain to:

  • bazel 7.5.0
  • bzlmod
  • kotlin 2.1.0
  • rules_java 8.6.0
  • robolectric 4.14.1
  • rules_jvm_external 6.6
  • rules_kotlin 2.1.3
  • rules_android 0.6.3
  • java 21

bazel 7.5 no longer exposes direct access to the 'jar' executable.
Use of it was suboptimal anyway, since its use is cryptic and by
default can produce a jar that contains files with timestamps,
hampering build reproducibility.

Instead, this commit creates a simple standalone java_binary that can
create a jar.

Also remove unused maven_artifact:override_license_file

PiperOrigin-RevId: 730560976
In progress: android_locql_test
Fix gradle tests by upgrading to kotlin 2.1.0
This results in permission denied errors.
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