Allow specifying target and exec constrains in remote_java_repository#17769
Allow specifying target and exec constrains in remote_java_repository#17769menny wants to merge 1 commit intobazelbuild:masterfrom
Conversation
This is a continuation of bazelbuild@27fe30b
|
Please update the description to say what can now use target and exec constraints, I was very confused until I read the code. |
|
I was looking at the commit that changed |
|
The setup that failed for us is this:
Our JDKs are with these
Our command line to build the app with arm64 variant will look something like this: This will fail with bazel 6.2 since our JDKs are not target compatible with the specified |
|
Switching from |
|
The file changed here have been moved out of bazel and now resides in |
This is a continuation of 27fe30b
This is useful for setting constraints on java toolchains.