typelevel-nix icon indicating copy to clipboard operation
typelevel-nix copied to clipboard

Library shell gives you JDK 8, but some tooling requires JDK 11+

Open armanbilge opened this issue 1 year ago • 3 comments

mdoc recently dropped support for JDK 8, so it's no longer possible to build documentation sites in the library shell.

  • https://github.com/typelevel/sbt-typelevel/issues/215#issuecomment-1798515691

armanbilge avatar Nov 09 '23 22:11 armanbilge

I think "library" is not a name that aged well, since different projects have different requirements, and the world wasn't ever going to cut it off at once.

Maybe we should just provide an 8, 11, 17, and 21 and phase out "application" and "library".

rossabaker avatar Nov 14 '23 02:11 rossabaker

But that doesn't capture the different defaults of the non-JDK platforms. Drat. It's nice to have a one liner to drop in a command line or private .envrc.

rossabaker avatar Nov 14 '23 02:11 rossabaker

I think "library" is not a name that aged well,

Another complaint I had with the current "library" shell is that while it is reasonable for CI to run on JDK8, for local dev I'd typically prefer a fast, modern JVM i.e. 17+ and only "drop down" to JDK 8 if CI catches something weird.

armanbilge avatar Nov 14 '23 03:11 armanbilge