summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-01-20 20:27:04 +0530
committerGitHub <noreply@github.com>2021-01-20 20:27:04 +0530
commit3a2cfd22e6575a67b1e8800e9563dd9cbb54a493 (patch)
treeae87cfc4503e7796ce6b906474f30c666fc88d2c /app
parent405e1d177265e30bc0ee247a787b3d99939d6c03 (diff)
Migrate versioning to Gradle plugin and automate version bumps (#1282)
Diffstat (limited to 'app')
-rw-r--r--app/build.gradle.kts3
-rw-r--r--app/version.properties6
2 files changed, 7 insertions, 2 deletions
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