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.
This commit is contained in:
Matthieu Gautier 2019-09-04 11:01:28 +02:00
parent 1aa8718cdd
commit 2ab7073a1d

View File

@ -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'