From 11463ac726a8097376a608184aa0e73cadd4fcdc Mon Sep 17 00:00:00 2001 From: Devon Stewart Date: Sat, 20 Feb 2021 07:59:45 -0800 Subject: [PATCH] Work around limitation in gradle-git-version --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 641abf2..5eeab1f 100644 --- a/build.gradle +++ b/build.gradle @@ -27,7 +27,7 @@ dependencies { group = 'com.twilio.guardrail' -version = gitVersion() +version = gitVersion().substring(1) // gradle-git-version does not support leading `v` in `v0.1.2`: https://github.com/palantir/gradle-git-version/issues/72 description = 'Twilio Guardrail Generator Plugin'