Skip to content

Commit

Permalink
Specify java_language_version and java_runtime_version for all Java r…
Browse files Browse the repository at this point in the history
…epositories we have.

This is the default so it shouldn't change anything. However, I think we should make explicit what we support.

PiperOrigin-RevId: 627037416
Change-Id: I7e648eddf67a208a62e7c42c03c9d10890c82b3f
  • Loading branch information
tholenst authored and copybara-github committed Apr 22, 2024
1 parent 9978709 commit 3bf858e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ always --noenable_bzlmod
# `bazel build --cxxopt='-std=c++<XY>' --host_cxxopt='c++<XY>' ...`
# (Both -std and --host_cxxopt must be set to force the desired version.)
build --cxxopt='-std=c++17' --host_cxxopt='-std=c++17'
build --java_language_version=8
build --java_runtime_version=local_jdk

0 comments on commit 3bf858e

Please sign in to comment.