From ce96291c4ea459dafc86ddc26e8214342478029a Mon Sep 17 00:00:00 2001 From: leonardo2204 Date: Mon, 25 May 2020 00:08:45 -0300 Subject: [PATCH] Fix version --- android/app/build.gradle | 34 +++++++++++++++++----------------- pubspec.yaml | 2 +- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index dbe3311..d1bf978 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -25,16 +25,16 @@ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' 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)) -} else { - keystoreProperties.setProperty('storePassword', System.getenv('KEY_STORE_PASSWORD')); - keystoreProperties.setProperty('keyPassword', System.getenv('KEY_PASSWORD')); - keystoreProperties.setProperty('keyAlias', System.getenv('ALIAS')); - keystoreProperties.setProperty('storeFile', System.getenv('KEY_PATH')); -} +//def keystoreProperties = new Properties() +//def keystorePropertiesFile = rootProject.file('key.properties') +//if (keystorePropertiesFile.exists()) { +// keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) +//} else { +// keystoreProperties.setProperty('storePassword', System.getenv('KEY_STORE_PASSWORD')); +// keystoreProperties.setProperty('keyPassword', System.getenv('KEY_PASSWORD')); +// keystoreProperties.setProperty('keyAlias', System.getenv('ALIAS')); +// keystoreProperties.setProperty('storeFile', System.getenv('KEY_PATH')); +//} android { compileSdkVersion 28 @@ -57,17 +57,17 @@ android { } signingConfigs { - release { - keyAlias keystoreProperties['keyAlias'] - keyPassword keystoreProperties['keyPassword'] - storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null - storePassword keystoreProperties['storePassword'] - } +// release { +// keyAlias keystoreProperties['keyAlias'] +// keyPassword keystoreProperties['keyPassword'] +// storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null +// storePassword keystoreProperties['storePassword'] +// } } buildTypes { release { - signingConfig signingConfigs.release + signingConfig signingConfigs.debug } } } diff --git a/pubspec.yaml b/pubspec.yaml index 1a69927..4794924 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,7 @@ description: Find your next conference # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.0.1+0 +version: 1.0.1+4 environment: sdk: ">=2.2.0 <3.0.0"