From 1aa3888cea27e0909e626673585c97917a1976fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deleuze?= Date: Mon, 30 Dec 2024 15:07:42 +0100 Subject: [PATCH] Update README Document `gradle` instead of `./gradlew` in order avoid downloading the wrapper after a container start. --- README.adoc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.adoc b/README.adoc index 54ac0de..6d0edf6 100644 --- a/README.adoc +++ b/README.adoc @@ -51,21 +51,21 @@ Please read and follow the link:CONTRIBUTING.adoc[contributing guide]. [source,] ---- -./gradlew :::build +gradle :::build ---- for example [source,] ---- -./gradlew :framework:webmvc-tomcat:build +gradle :framework:webmvc-tomcat:build ---- ==== Run a specific type of tests for a project [source,] ---- -./gradlew ::: +gradle ::: ---- Valid test task names are: @@ -78,7 +78,7 @@ for example [source,] ---- -./gradlew :framework:webmvc-tomcat:appTest +gradle :framework:webmvc-tomcat:appTest ---- ==== Add a new smoke test @@ -93,7 +93,7 @@ for example [source,] ---- -./gradlew :::build --include-build /path/to/your/project +gradle :::build --include-build /path/to/your/project ---- Gradle https://docs.gradle.org/current/userguide/composite_builds.html#command_line_composite[will then substitute the dependency] with your provided version. @@ -108,7 +108,7 @@ optional comma-separated list of group IDs: [source,] ---- -./gradlew :framework:webmvc-tomcat:build -PfromMavenLocal=org.springframework +gradle :framework:webmvc-tomcat:build -PfromMavenLocal=org.springframework ---- The preceding example will run the `webmvc-tomcat` smoke test, resolving Spring Framework from your local Maven cache. @@ -116,7 +116,7 @@ The preceding example will run the `webmvc-tomcat` smoke test, resolving Spring You can also just specify: [source,] ---- -./gradlew :framework:webmvc-tomcat:build -PfromMavenLocal +gradle :framework:webmvc-tomcat:build -PfromMavenLocal ---- Here all the dependencies will be resolved from your local Maven cache.