Update: 2026-06-12 01:34:30
This commit is contained in:
@@ -15,6 +15,24 @@ if (keystorePropertiesFile.exists()) {
|
||||
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
||||
}
|
||||
|
||||
def localProperties = new Properties()
|
||||
def localPropertiesFile = rootProject.file('local.properties')
|
||||
if (localPropertiesFile.exists()) {
|
||||
localPropertiesFile.withReader('UTF-8') { reader ->
|
||||
localProperties.load(reader)
|
||||
}
|
||||
}
|
||||
|
||||
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
|
||||
if (flutterVersionCode == null) {
|
||||
flutterVersionCode = '1'
|
||||
}
|
||||
|
||||
def flutterVersionName = localProperties.getProperty('flutter.versionName')
|
||||
if (flutterVersionName == null) {
|
||||
flutterVersionName = '1.0.0'
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "com.siro.siro_driver"
|
||||
compileSdk = 36
|
||||
@@ -46,10 +64,10 @@ android {
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "com.siro.siro_driver"
|
||||
minSdkVersion = flutter.minSdkVersion
|
||||
minSdkVersion = 30
|
||||
targetSdk = 36
|
||||
versionCode = 62
|
||||
versionName = '1.1.62'
|
||||
versionCode = flutterVersionCode.toInteger()
|
||||
versionName = flutterVersionName
|
||||
multiDexEnabled = true
|
||||
|
||||
ndk {
|
||||
|
||||
Reference in New Issue
Block a user