Use static version code

This commit is contained in:
Koitharu
2021-03-28 10:14:37 +03:00
parent f669a1ca0f
commit b07fcf5842

View File

@@ -5,8 +5,6 @@ plugins {
id 'kotlin-parcelize' id 'kotlin-parcelize'
} }
def gitCommits = 'git rev-list --count HEAD'.execute([], rootDir).text.trim().toInteger()
android { android {
compileSdkVersion 30 compileSdkVersion 30
buildToolsVersion '30.0.3' buildToolsVersion '30.0.3'
@@ -15,8 +13,8 @@ android {
applicationId 'org.koitharu.kotatsu' applicationId 'org.koitharu.kotatsu'
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 30 targetSdkVersion 30
versionCode gitCommits versionCode 364
versionName '1.0' versionName '1.0.1'
kapt { kapt {
arguments { arguments {