build
This commit is contained in:
@@ -5,6 +5,10 @@ plugins {
|
||||
id "dev.flutter.flutter-gradle-plugin"
|
||||
}
|
||||
|
||||
def keystorePropertiesFile = rootProject.file("key.properties")
|
||||
def keystoreProperties = new Properties()
|
||||
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
||||
|
||||
android {
|
||||
namespace = "com.czg.cashier_reserve"
|
||||
compileSdk = flutter.compileSdkVersion
|
||||
@@ -21,21 +25,39 @@ android {
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "com.czg.cashier_reserve"
|
||||
applicationId = "com.czg.cashierReserve"
|
||||
minSdk = flutter.minSdkVersion
|
||||
targetSdk = flutter.targetSdkVersion
|
||||
versionCode = flutter.versionCode
|
||||
versionName = flutter.versionName
|
||||
versionCode = 1
|
||||
versionName = "1.0.0"
|
||||
minSdkVersion 26
|
||||
targetSdkVersion 33
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
release {
|
||||
keyAlias keystoreProperties['keyAlias']
|
||||
keyPassword keystoreProperties['keyPassword']
|
||||
storeFile file(keystoreProperties['storeFile'])
|
||||
storePassword keystoreProperties['storePassword']
|
||||
}
|
||||
debug {
|
||||
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.
|
||||
// Signing with the debug keys for now, so `flutter run --release` works.
|
||||
signingConfig = signingConfigs.debug
|
||||
}
|
||||
debug {
|
||||
signingConfig signingConfigs.release
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,6 +65,12 @@ flutter {
|
||||
source = "../.."
|
||||
}
|
||||
|
||||
configurations.all {
|
||||
resolutionStrategy {
|
||||
force 'androidx.core:core-ktx:1.6.0'
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(name:'callmodule-release',ext:'aar')
|
||||
implementation('com.android.support:appcompat-v7:28.0.0')
|
||||
|
||||
3
android/app/proguard-rules.pro
vendored
3
android/app/proguard-rules.pro
vendored
@@ -18,4 +18,5 @@
|
||||
-dontwarn org.linphone.core.Reason
|
||||
-dontwarn org.linphone.core.VideoActivationPolicy
|
||||
-dontwarn org.linphone.core.tools.Log
|
||||
-dontwarn org.linphone.core.tools.receiver.BluetoothReceiver
|
||||
-dontwarn org.linphone.core.tools.receiver.BluetoothReceiver
|
||||
-dontwarn com.kaer.subutil.R$string
|
||||
@@ -3,7 +3,7 @@
|
||||
<uses-permission android:name="android.permission.READ_CALL_LOG" />
|
||||
|
||||
<application
|
||||
android:label="cashier_reserve"
|
||||
android:label="银收客订餐"
|
||||
android:name=".CzgApplication"
|
||||
android:icon="@mipmap/ic_launcher">
|
||||
<activity
|
||||
|
||||
Reference in New Issue
Block a user