Plugin dependencies under sbt-typelevel
umbrella
#1297
Merged
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.
On
mdoc
execution issueLatest
mdoc
is compiled with JDK 11 but our GHA publish job was configured to use JDK 8:👆🏽 See this run log for the full error.
By switching the order of
githubWorkflowJavaVersions
the issue should be fixed, because the first JDK defined (in the case of this PR, JDK 21) is the one used for the publish job. I'm pretty sure that this doesn't affect anything else because we're only using a newest JVM to run but the release flag is set to JDK 8, thus compiled bytecode will be compatible with old Java versions.The build job still runs in JDK 8 and JDK 21, so we can be confident that we're compatible with old codebases and also with latest ones (by using the latest LTS).
On
sbt-typelevel
usageI've removed the redundant dependencies already defined by
sbt-typelevel
.Also, this is the first step to use
sbt-typelevel-site
for publishing the website. This first iteration only uses the transitivemdoc
and everything else stays the same (Docusaurus), but we're now in a good position to use the standard typelevel way for websites.