Browse Source

release android Tien Phong Farm

master
daivph 5 years ago
parent
commit
db4d0647d0
4 changed files with 23 additions and 6 deletions
  1. +17
    -4
      android/app/build.gradle
  2. +4
    -0
      android/key.properties
  3. +1
    -1
      ios/Flutter/.last_build_id
  4. +1
    -1
      pubspec.yaml

+ 17
- 4
android/app/build.gradle View File

apply plugin: 'kotlin-android' apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 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 { android {
compileSdkVersion 29 compileSdkVersion 29


// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "vn.azteam.tpfarm" applicationId "vn.azteam.tpfarm"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 28
targetSdkVersion 29
versionCode flutterVersionCode.toInteger() versionCode flutterVersionCode.toInteger()
versionName flutterVersionName versionName flutterVersionName
} }


signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}

buildTypes { buildTypes {
release { release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
signingConfig signingConfigs.release
} }
} }
} }

+ 4
- 0
android/key.properties View File

storePassword=123456
keyPassword=123456
keyAlias=key
storeFile=/Users/macbook/key.jks

+ 1
- 1
ios/Flutter/.last_build_id View File

3f778cf36ac2941d4ad7b6984be8f5a0
256048b5f2de139c42fadf38202f819b

+ 1
- 1
pubspec.yaml View File

description: A new Flutter project. description: A new Flutter project.


publish_to: 'none' publish_to: 'none'
version: 0.16.0+1
version: 1.0.0+1


environment: environment:
sdk: ">=2.7.0 <3.0.0" sdk: ">=2.7.0 <3.0.0"

Loading…
Cancel
Save