diff --git a/.gitignore b/.gitignore
index eb6c401..78511f3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,4 +4,5 @@
/.idea/workspace.xml
/build
/captures
-/local.properties
\ No newline at end of file
+/local.properties
+/versions.properties
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index 6564d52..94a25f7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -1,6 +1,6 @@
-
+
\ No newline at end of file
diff --git a/app/app.iml b/app/app.iml
index cf2c27a..ab0ef55 100644
--- a/app/app.iml
+++ b/app/app.iml
@@ -84,7 +84,7 @@
-
+
\ No newline at end of file
diff --git a/app/build.gradle b/app/build.gradle
index 0278cea..8c47e59 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,4 +1,5 @@
apply plugin: 'com.android.application'
+apply plugin: 'versionPlugin'
android {
compileSdkVersion 13
@@ -16,4 +17,11 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
+
+ versionPlugin {
+ buildTypesMatcher = 'release'
+ supportBuildNumber = false
+
+ fileNameFormat = '$projectName'
+ }
}
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 6010192..167235b 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -12,7 +12,7 @@
android:allowBackup="true">
+ android:label="@string/app_name">
diff --git a/build.gradle b/build.gradle
index 833eee9..b6c1bd4 100644
--- a/build.gradle
+++ b/build.gradle
@@ -5,6 +5,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:1.1.0'
+ classpath 'com.github.hamsterksu:android-appversion-gradle-plugin:1.2.+'
}
}