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 0a331f8ba9
commit 1bb5e278ed
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ task writePom {
project { project {
groupId 'org.kiwix.kiwixlib' groupId 'org.kiwix.kiwixlib'
artifactId 'kiwixlib' artifactId 'kiwixlib'
version '6.0.3' version '6.0.3' + (System.env.KIWIXLIB_BUILDVERSION == null ? '' : '-'+System.env.KIWIXLIB_BUILDVERSION)
packaging 'aar' packaging 'aar'
name 'kiwixlib' name 'kiwixlib'
url 'https://github.com/kiwix/kiwix-lib' url 'https://github.com/kiwix/kiwix-lib'