Skip to content

Conversation

@ivan-klass
Copy link

@ivan-klass ivan-klass commented May 9, 2025

This PR implements src/main/java in Scala (as src/main/scala-readers) and adds a ScalaNative platform. Later it would be much easier to add JS also.

Currently, new sources are only connected to non-JVM builds, and there are no changes to the JVM platform at all.
JVM build uses exactly the same sources and compile settings as before, so maybe there's no need for a version bump, as there are no changes to ship compared to existing 2.0.0 artifacts.

As for the upcoming versions, it would be nice to drop src/main/java completely. Unfortunately, these interfaces are defined as public. Following semver conventions strictly, that might be considered as requiring a major version bump, but it seems very unlikely that library users extend existing LineReaders to implement their own.

If needed, I can separate this PR into parts, like:

  • preparing build.sbt to multi-projects (first commit)
  • implement LineReaders in scala
  • scala-native

please let me know if it would make sense.

@ivan-klass
Copy link
Author

ivan-klass commented Jun 20, 2025

@tototoshi @xuwei-k could you please take a look? I believe the PR is merge-ready

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant