From 1ae014dc53dad7d63d687d0bc9b98a616ac5625f Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 24 Jun 2015 09:38:58 +0100 Subject: [PATCH] Update build script examples in docs to use dynamic dependency version --- docs/src/docs/asciidoc/getting-started.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/docs/asciidoc/getting-started.adoc b/docs/src/docs/asciidoc/getting-started.adoc index 1f4602b4..8d58f1f4 100644 --- a/docs/src/docs/asciidoc/getting-started.adoc +++ b/docs/src/docs/asciidoc/getting-started.adoc @@ -38,14 +38,14 @@ use as a reference. The key parts of the configuration are described below. -[source,groovy,indent=0] +[source,groovy,indent=0,subs="verbatim,attributes"] ---- plugins { <1> id "org.asciidoctor.convert" version "1.5.2" } dependencies { <2> - testCompile 'org.springframework.restdocs:spring-restdocs:0.1.0.BUILD-SNAPSHOT' + testCompile 'org.springframework.restdocs:spring-restdocs:{project-version}' } ext { <3> @@ -82,12 +82,12 @@ use as a reference. The key parts of the configuration are described below. -[source,xml,indent=0] +[source,xml,indent=0,subs="verbatim,attributes"] ---- <1> org.springframework.restdocs spring-restdocs - 0.1.0.BUILD-SNAPSHOT + {project-version} test