From 3a2cfd22e6575a67b1e8800e9563dd9cbb54a493 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Wed, 20 Jan 2021 20:27:04 +0530 Subject: Migrate versioning to Gradle plugin and automate version bumps (#1282) --- app/build.gradle.kts | 3 +-- app/version.properties | 6 ++++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 app/version.properties (limited to 'app') diff --git a/app/build.gradle.kts b/app/build.gradle.kts index a1b2583b..cdaca4d7 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -7,6 +7,7 @@ import com.android.build.gradle.internal.api.BaseVariantOutputImpl plugins { id("com.android.application") kotlin("android") + `versioning-plugin` `aps-plugin` `crowdin-plugin` } @@ -26,8 +27,6 @@ android { defaultConfig { applicationId = "dev.msfjarvis.aps" - versionCode = 2_00_00 - versionName = "2.0.0-SNAPSHOT" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } diff --git a/app/version.properties b/app/version.properties new file mode 100644 index 00000000..c8113cb7 --- /dev/null +++ b/app/version.properties @@ -0,0 +1,6 @@ +# +#This file was automatically generated by 'versioning-plugin'. DO NOT EDIT MANUALLY. +# +#Sun Jan 17 12:32:03 IST 2021 +versioning-plugin.versionCode=20000 +versioning-plugin.versionName=2.0.0-SNAPSHOT -- cgit v1.2.3