From 2ab7073a1daae89fce1a2c17d32eb5963413eb23 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Wed, 4 Sep 2019 11:01:28 +0200 Subject: [PATCH] Allow the gradle to add an extra build version in the pom file. This is needed to be able to publish new build of the same version on bintray. --- android-kiwix-lib-publisher/kiwixLibAndroid/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android-kiwix-lib-publisher/kiwixLibAndroid/build.gradle b/android-kiwix-lib-publisher/kiwixLibAndroid/build.gradle index 7ee24a2..d19af3f 100644 --- a/android-kiwix-lib-publisher/kiwixLibAndroid/build.gradle +++ b/android-kiwix-lib-publisher/kiwixLibAndroid/build.gradle @@ -26,7 +26,7 @@ task writePom { project { groupId 'org.kiwix.kiwixlib' artifactId 'kiwixlib' - version '6.0.3' + version '6.0.3' + (System.env.KIWIXLIB_BUILDVERSION == null ? '' : '-'+System.env.KIWIXLIB_BUILDVERSION) packaging 'aar' name 'kiwixlib' url 'https://github.com/kiwix/kiwix-lib'