Add dynamic project version for usage page
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/commit/c888b039 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/tree/c888b039 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/diff/c888b039 Branch: refs/heads/master Commit: c888b039f90a98f0f82844de3a9e9207b327cc41 Parents: a6af7ec Author: Matt Sicker <[email protected]> Authored: Sat Mar 31 19:26:25 2018 -0500 Committer: Matt Sicker <[email protected]> Committed: Sat Mar 31 19:26:25 2018 -0500 ---------------------------------------------------------------------- src/asciidoctor/usage.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/blob/c888b039/src/asciidoctor/usage.adoc ---------------------------------------------------------------------- diff --git a/src/asciidoctor/usage.adoc b/src/asciidoctor/usage.adoc index 10fa6b9..9300963 100644 --- a/src/asciidoctor/usage.adoc +++ b/src/asciidoctor/usage.adoc @@ -19,10 +19,10 @@ Log4j Scala API requires Log4j API. An example SBT dependency setup: .build.sbt -[source,scala] +[source,scala,subs=attributes] ---- libraryDependencies ++= Seq( - "org.apache.logging.log4j" %% "log4j-api-scala" % "11.0", + "org.apache.logging.log4j" %% "log4j-api-scala" % "{project-version}", "org.apache.logging.log4j" % "log4j-api" % "2.11.0", "org.apache.logging.log4j" % "log4j-core" % "2.11.0" % Runtime) ----
