-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to sbt for Scala #459
Comments
Below are results of running the
Both JSON files were downloaded from https://catalog.data.gov/dataset/?res_format=JSON |
Scala tests target Scala 3 that could be not compatible with Scala Native (so it's more that just using another build system as used libraries target Scala 3 too). GraalVM is orthogonal to Scala, and that would be just testing JVM-based program on GraalVM. While it makes sense (as TruffleRuby tests are also running on GraalVM), it again has nothing to do with the build system. All contributions are welcome, but it's not a priority. If you would like to see additional Scala tests, I'd recommend to rather extend the existing build process:
|
The latest Scala 3 release (3.2.2, not 3.3.0-RC3) is supported by Scala Native. The This tool can easily build an uber jar, native-image with Scala Native or GraalVM using the same Scala sources as it is done in this project. We have a precedent of using And the |
@nuald As an option scala-cli can be used instead of SBT for building of Scala Native and GraalVM native images as it is done in the similar project |
It will allow to run with JVM JIT or as a binary compiled to the native code by GraalVM or Scala Native.
Here is an example of such project.
The text was updated successfully, but these errors were encountered: