Skip to content

Commit

Permalink
Document excludesAll for additional sbt-paradox plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
mdedetrich committed Mar 3, 2024
1 parent 2b1f870 commit d47e88d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@ so you can just include it like this
addSbtPlugin("org.apache.pekko" % "sbt-paradox-pekko" % "<version>")
```

> **_NOTE:_** If you happen to be using sbt-paradox plugins aside from
> * sbt-web
> * sbt-paradox-apidoc
> * sbt-paradox-project-info
> you need to use an `excludesAll` statement on `addSbtPlugin` to remove the
> JDK 11 reference, i.e. if you need to use sbt-site-paradox you would do the
> following
> ```sbt
> addSbtPlugin(("com.github.sbt" % "sbt-site-paradox" % "1.5.0").excludeAll(
> "com.lightbend.paradox", "sbt-paradox"))
> ```
### JDK 11+
With JDK 11 or later you need to explicitly override the sbt-paradox/sbt-paradox-theme
Expand Down

0 comments on commit d47e88d

Please sign in to comment.