diff --git a/app/build.gradle b/app/build.gradle index 8efde6fb..a2507e0c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -33,7 +33,7 @@ android { applicationId "com.k0d4black.theforce" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode rootProject.ext.versionCode + versionCode rootProject.ext.versionCodeMajor * 10000 + rootProject.ext.versionCodeMinor * 100 + rootProject.ext.versionCodePatch versionName rootProject.ext.versionName testInstrumentationRunner "com.k0d4black.theforce.runner.MockTestRunner" } diff --git a/dependencies.gradle b/dependencies.gradle index 6df6f328..bf3986e8 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -6,8 +6,10 @@ ext { buildToolsVersion = "29.0.2" //App Versioning - versionCode = 1 - versionName = "1.0" + versionCodeMajor = 1 + versionCodeMinor = 0 + versionCodePatch = 1 + versionName = "$versionCodeMajor.$versionCodeMinor.$versionCodePatch" //Dependencies Version - Presentation appcompatVersion = '1.1.0'