Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I don't know basically anything about either sbt-plugins or sbt-errors-summary in particular. I was mostly following error messages. I published it locally and tested it manually with following sbt versions: 1.1.4, 1.2.4, 1.3.7, 1.4.2 and 1.4.9. I used scala 2.13 in all those project. It looks that fix worked for those projects, I will keep on using my locally published version for some time.
The first commit of this PR alone is enough to fix the issue. The other ones are attempts to fix CI build but I have not managed to make tests pass for any scala version besides 2.12. My gut feeling though is that it's rather about how tests are run. It seems that in
CompilerSpec
compiler.compile
ends up using scala lib 2.12 regardless which scala version we target. I gave up on fixing that, I think someone more versed with sbt would need to take a look. Also, the fact that the project hasn't been updated for a quite while does not make it easier