sbt-osgi icon indicating copy to clipboard operation
sbt-osgi copied to clipboard

Cross compile to sbt2

Open romainreuillon opened this issue 3 months ago • 5 comments

A first version of sbt-osgi cross compling to sbt 2.0.

I did the strict minimum to make the plugin and the test compile and run, so it is mergeable.

There is more to do especially on the caching side. I'll work on it when I'll have some time.

romainreuillon avatar Sep 02 '25 19:09 romainreuillon

I guess don't exactly know how the testing part works, can somebody help on this part?

romainreuillon avatar Sep 02 '25 19:09 romainreuillon

Could you run githubWorkflowGenerate to regenerate GitHub Action YAML files plz?

eed3si9n avatar Sep 02 '25 19:09 eed3si9n

Of course, done

romainreuillon avatar Sep 02 '25 19:09 romainreuillon

https://github.com/sbt/sbt-osgi/blob/main/.scalafmt.conf probably needs to be updated to

runner.dialect = Scala212Source3

eed3si9n avatar Sep 02 '25 20:09 eed3si9n

Thanks, that's a lot better. Some test are not passing yet. For what I understand it seems to be caused by some sbt 2 instabilities.

Is that what you get from the error as well?

romainreuillon avatar Sep 03 '25 07:09 romainreuillon