Browse Source

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

housekeeping/remove-warnings
Antoine POPINEAU 5 years ago
parent
commit
2c87e7c983
No known key found for this signature in database
GPG Key ID: A78AC64694F84063
  1. 10
      app/build.gradle.kts

10
app/build.gradle.kts

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

Loading…
Cancel
Save