From b14756a7bb304801b00a6c2205350fe036daf773 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 30 Sep 2015 14:41:31 +0200 Subject: [PATCH] Improve git commit information for Gradle Closes gh-3949 --- .../src/main/asciidoc/production-ready-features.adoc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc b/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc index 29fbe33750f..a477763be02 100644 --- a/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc @@ -454,8 +454,15 @@ generate a `git.properties` file. Simply add the following declaration to your P ---- -A similar https://github.com/ajoberstar/gradle-git[`gradle-git`] plugin is also available -for Gradle users, although a little more work is required to generate the properties file. +Gradle users can achieve the same result using the +https://plugins.gradle.org/plugin/com.gorylenko.gradle-git-properties[`gradle-git-properties`] plugin + +[source,groovy,indent=0] +---- + plugins { + id "com.gorylenko.gradle-git-properties" version "1.4.6" + } +----