bazelbuild / bazelisk

A user-friendly launcher for Bazel.
Apache License 2.0
1.96k stars 302 forks source link

Allow specify nojdk and non-release commit #469

Closed c-parsons closed 5 months ago

c-parsons commented 1 year ago

It looks like one cannot specify a non-release commit (e.g. USE_BAZEL_VERSION=last_green) as well as BAZEL_NOJDK=1 to download a nojdk Bazel.

Instead, it will download a jdk Bazel (BAZEL_NOJDK is ignored).

This seems like a simple arg-parsing oversight. (FWIW, BAZEL_NOJDK isn't even documented, so perhaps its a mostly-untested feature?)

tradergt commented 5 months ago

For the java part, looks like there was a push to support NOJDK https://github.com/bazelbuild/bazelisk/pull/531 It has not been released yet though

fweikert commented 5 months ago

I'll cut a new release