diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2024-05-02 15:16:45 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2024-05-02 15:23:55 +0200 |
commit | acbb197355bc1ce3d2be747e3af62a01ca6821e5 (patch) | |
tree | d90b6be67723c00db1e85251eb91410bb10c8e62 /.bazelrc | |
parent | c8844571b3a483e3cc5f77d18b4e972ad5fe2c5e (diff) | |
parent | 98f329e93791a49068adc0bc2f5c81234fe2d943 (diff) | |
download | jgit-acbb197355bc1ce3d2be747e3af62a01ca6821e5.tar.gz jgit-acbb197355bc1ce3d2be747e3af62a01ca6821e5.zip |
Merge branch 'master' into next
* master:
Bazel: Add support for JDK 21
Bazel: Replace deprecated --experimental_strict_action_env option
Fix warning about using raw type
[errorprone] Fix pattern ModifiedButNotUsed
[errorprone] Fix pattern CatchAndPrintStackTrace
[errorprone] Fix pattern FutureReturnValueIgnored
[errorprone] Fix pattern BadImport
[errorprone] Fix pattern UseCorrectAssertInTests
[errorprone] Fix pattern ProtectedMembersInFinalClass
[errorprone] Fix pattern CatchFail
[errorprone] Fix pattern see UnusedVariable
[errorprone] Fix pattern LongLiteralLowerCaseSuffix
[errorprone] Fix error pattern JdkObsolete
[errorprone] Fix UnnecessaryParentheses errors
Bazel: Update RBE docker image to Ubuntu 22.04 and JDK 17
Bump Bazel version to 7.1.1
PackIndex: Make #getOffset protected to allow out-of-package subclasses
Change-Id: I4ecde5e6a3cb9f122990893fa97f6d2a9978bcc4
Diffstat (limited to '.bazelrc')
-rw-r--r-- | .bazelrc | 21 |
1 files changed, 19 insertions, 2 deletions
@@ -1,6 +1,10 @@ +# TODO(davido): Migrate all dependencies from WORKSPACE to MODULE.bazel +# https://issues.gerritcodereview.com/issues/303819949 +common --noenable_bzlmod + build --workspace_status_command="python ./tools/workspace_status.py" build --repository_cache=~/.gerritcodereview/bazel-cache/repository -build --experimental_strict_action_env +build --incompatible_strict_action_env build --action_env=PATH build --disk_cache=~/.gerritcodereview/bazel-cache/cas @@ -17,7 +21,7 @@ build:remote11 --tool_java_language_version=11 build:remote11 --tool_java_runtime_version=remotejdk_11 build:remote11 --config=remote -# Builds using remote_jdk17, executes using remote_jdk11 or local_jdk +# Builds using remote_jdk17, executes using remote_jdk17 or local_jdk build:java17 --java_language_version=17 build:java17 --java_runtime_version=remotejdk_17 build:java17 --tool_java_language_version=17 @@ -30,6 +34,19 @@ build:remote17 --tool_java_language_version=17 build:remote17 --tool_java_runtime_version=remotejdk_17 build:remote17 --config=remote +# Builds using remote_jdk21, executes using remote_jdk21 or local_jdk +build:java21 --java_language_version=21 +build:java21 --java_runtime_version=remotejdk_21 +build:java21 --tool_java_language_version=21 +build:java21 --tool_java_runtime_version=remotejdk_21 + +# Builds and executes on RBE using remotejdk_21 +build:remote21 --java_language_version=21 +build:remote21 --java_runtime_version=remotejdk_21 +build:remote21 --tool_java_language_version=21 +build:remote21 --tool_java_runtime_version=remotejdk_21 +build:remote21 --config=remote + test --build_tests_only test --test_output=errors test --flaky_test_attempts=3 |