Skip to content
Snippets Groups Projects
Commit 0b8d743e authored by Markin Igor's avatar Markin Igor
Browse files

Update package name and add key store.

parent 58a0c4b1
No related branches found
No related tags found
1 merge request!1Mobile app initial implementation.
......@@ -36,6 +36,7 @@
**/android/gradlew
**/android/gradlew.bat
**/android/local.properties
**/android/key.properties
**/android/**/GeneratedPluginRegistrant.java
# iOS/XCode related
......
......@@ -24,6 +24,12 @@ if (flutterVersionName == null) {
apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
android {
compileSdkVersion 28
......@@ -41,6 +47,15 @@ android {
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
}
}
buildTypes {
release {
// TODO: Add your own signing config for the release build.
......@@ -54,7 +69,7 @@ android {
productFlavors {
development {
dimension "flavor-type"
applicationIdSuffix ".dev"
applicationIdSuffix ".development"
versionNameSuffix "-dev"
manifestPlaceholders = [appLabel:"Vereign-dev"]
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment