Closed mdedetrich closed 2 years ago
Thanks for the merge, let me know when a a new release is made and what you plan to do regarding https://github.com/mdedetrich/sbt-paradox-lightbend-project-info
Releasing has started and I created and (so far) empty https://github.com/lightbend/sbt-paradox-lightbend-project-info.
@ennru So it turns out you cannot fork an empty repo https://stackoverflow.com/questions/39013301/how-do-i-fork-an-empty-repository-on-github . Can you just add a LICENSE
file and then I can add the rest?
I pushed the contents from your repo there.
Perfect thanks, just created a PR on https://github.com/lightbend/sbt-paradox-lightbend-project-info/pull/1 that points to this new release.
Removes Lightbend hardcoded values for
readinessLevel
's and allows them to be configurable. This is done by adding a new sbt key calledreadinessLevels
which is aMap[String, ReadinessLevel]
where theString
is the config key inproject-info.conf
and the value is a Scala type that implementsReadinessLevel
. I decided to make this confgurable via sbt settings instead of typesafe config because the typesafe config inheritance doesn't via nested projects doesn't work with sbt plugins (ontop of this defining the html rendering vianame
in hoconf is not that nice).In order to test that this is actually working properly, I created a sample https://github.com/mdedetrich/sbt-paradox-lightbend-project-info and using
sbt localPublish
along with temporarily setting the version to-SNAPSHOT
I republished https://github.com/akka/akka-paradox locally to test it with https://github.com/akka/alpakkadocs/makeSite
. Note that https://github.com/mdedetrich/sbt-paradox-lightbend-project-info implements the sbt-plugin to automatically trigger when you include it as a dependency (the alternative is to usenoTrigger
which means you manually have to enable it with.enablePlugins(LightbendParadoxInfoPlugin)
).This means that once this pull request and released the following things to need to be done
sbt-paradox-lightbend-project-info
instead ofsbt-paradox-project-info
and make a new releaseakka-paradox
. This is very easy due to the fact that https://github.com/mdedetrich/sbt-paradox-lightbend-project-info automatically triggers when you include it as a dependency (even as a transitive one) so all you need to do is to just bump the value of a single dependency inproject/plugins.sbt
.Resolves: https://github.com/lightbend/sbt-paradox-project-info/issues/17