Moved androidGitVersion to top of the file, else it is not taken into account. [skip ci]

This commit is contained in:
Antoine POPINEAU 2019-11-06 09:01:17 +01:00
parent 7084be81de
commit 2c87e7c983
No known key found for this signature in database
GPG Key ID: A78AC64694F84063
1 changed files with 5 additions and 5 deletions

View File

@ -19,6 +19,11 @@ val props = Properties().apply {
catch(e: Exception) {}
}
androidGitVersion {
codeFormat = "MNNPP"
format = "%tag%%-count%%-commit%%-branch%"
}
android {
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
@ -69,11 +74,6 @@ android {
}
}
androidGitVersion {
codeFormat = "MNNPP"
format = "%tag%%-count%%-commit%%-branch%"
}
ktlint {
debug.set(false)
verbose.set(false)