I see that support for Java records was added in 2.13.7. However, I’m still running into troubles in 3.1.1 (sbt 1.6.2):
[error] -- Error: /.../src/main/java/Foo.java:1:14 ------------------
[error] 1 |public record Foo(int value) {
[error] | ^^^
[error] | illegal start of type declaration
Is this something that’s supposed to be working? I couldn’t find a related issue on GitHub.
Note that the code works in 2.13.8, and also in 3.1.1 if all the Scala code is removed (i.e., as a pure Java project).