Skip to content

[WIP] Cross build laika-sbt for sbt 2#774

Draft
tanishiking wants to merge 1 commit into
typelevel:mainfrom
tanishiking:sbt2
Draft

[WIP] Cross build laika-sbt for sbt 2#774
tanishiking wants to merge 1 commit into
typelevel:mainfrom
tanishiking:sbt2

Conversation

@tanishiking

@tanishiking tanishiking commented Jun 25, 2026

Copy link
Copy Markdown

Depends on upstream sbt change sbt/sbt#9377, we need to wait until sbt 2.0.1


close #773

  • Exclude all laika-sbt tasks from sbt 2 caching with Def.uncached.
  • Adapt to sbt2 API changes using https://github.com/sbt/sbt2-compat if you don't like adding dependency, we can define small set of PluginCompat.
  • Run the plugin build and tests in CI with sbt 2, Scala 3, and Java 17.
  • Set Laika / target explicitly in each scripted project build.sbt so scripted tests work across sbt 1 and 2 target directory.

Depends on upstream sbt change sbt/sbt#9377

fix typelevel#773

- Exclude all laika-sbt tasks from sbt 2 caching with `Def.uncached`.
- Adapt to sbt2 API changes using https://github.com/sbt/sbt2-compat
  if you don't like adding dependency, we can define small set of
  PluginCompat.
- Run the plugin build and tests in CI with sbt 2, Scala 3, and Java 17.
- Set `Laika / target` explicitly in each scripted project `build.sbt` so
  scripted tests work across sbt 1 and 2 target directory.

Depends on upstream sbt change sbt/sbt#9377
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.

sbt 2.x support for laika-sbt

1 participant