tag | aa99947e4e995d2e71f157de13afeefaa520f061 | |
---|---|---|
tagger | PJ Fanning <pjfanning@users.noreply.github.com> | Thu Aug 24 22:32:42 2023 +0100 |
object | a3821657b567b42a2c15b920df3efa1dabd2f8aa |
1.0.0 release
commit | a3821657b567b42a2c15b920df3efa1dabd2f8aa | [log] [tgz] |
---|---|---|
author | PJ Fanning <pjfanning@users.noreply.github.com> | Tue Aug 01 14:23:34 2023 +0100 |
committer | GitHub <noreply@github.com> | Tue Aug 01 14:23:34 2023 +0100 |
tree | dd4dcae1acacf7261dfc7c838bf539e5f5d10b7f | |
parent | 4478d8fe294f0c7e4281da8148c2f230856e1186 [diff] |
change thanks link (#75)
This plugin is intended to extend the sbt-paradox plugin with some settings along with providing the Apache Pekko theme.
It is intended as a shared doc theme for the Apache Pekko umbrella of projects, and not as a public theme to use on “any” project.
Use the sbt plugin for Pekko Paradox:
addSbtPlugin("org.apache.pekko" % "pekko-sbt-paradox" % "<version>")
Due to the design of certain transitive dependencies used by sbt-paradox such as parboiled, this plugin won't work correctly if run under JDK 1.8
You can work around this by hotpatching the resolved dependencies, rather than doing the simple addSbtPlugin
as mentioned before do the following
addSbtPlugin("org.apache.pekko" % "sbt-paradox-pekko" % "<version>" excludeAll( "com.lightbend.paradox" % "sbt-paradox", "com.lightbend.paradox" % "sbt-paradox-apidoc", "com.lightbend.paradox" % "sbt-paradox-project-info" )) addSbtPlugin("com.lightbend.paradox" % "sbt-paradox" % "0.9.2" force()) addSbtPlugin("com.lightbend.paradox" % "sbt-paradox-apidoc" % "0.10.1" force()) addSbtPlugin("com.lightbend.paradox" % "sbt-paradox-project-info" % "2.0.0" force())
Enable it instead of the upstream ParadoxPlugin:
import org.apache.pekko.PekkoParadoxPlugin enablePlugins(PekkoParadoxPlugin)
For more settings refer to the Paradox documentation
When you have made changes to pekko-sbt-paradox, you can test it locally with:
sbt publishLocal sbtPlugin/scripted
This should show:
Pausing in /tmp/sbt_e457458e/simple Press enter to continue.
build.sbt
in this directory)sbt compile
compiles the main source for project default version of Scala (2.13)sbt test
will compile the code and run the unit testssbt package
will build the jarsplugin/target/scala-2.12/sbt-1.0/
sbt publishLocal
will push the jars to your local Apache Ivy repositorysbt publishM2
will push the jars to your local Apache Maven repositorysbt sourceDistGenerate
will generate source release to target/dist/
sbt "set ThisBuild / version := \"1.0.0\"; sourceDistGenerate"
version.sbt
to the same directory that has the build.sbt
containing something likeThisBuild / version := "1.0.0"
There are several ways to interact with the Pekko community: