Skip to content

Commit f20730c

Browse files
committed
Remove signingConfig
1 parent c93d1fa commit f20730c

File tree

1 file changed

+7
-25
lines changed

1 file changed

+7
-25
lines changed

android/app/build.gradle

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,9 @@ if (flutterVersionName == null) {
2222
flutterVersionName = '1.0'
2323
}
2424

25-
def keystoreProperties = new Properties()
26-
def keystorePropertiesFile = rootProject.file('key.properties')
27-
if (keystorePropertiesFile.exists()) {
28-
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
29-
}
30-
3125
android {
32-
compileSdkVersion 34
26+
namespace "com.doreanbyte.katswiri"
27+
compileSdkVersion flutter.compileSdkVersion
3328
ndkVersion flutter.ndkVersion
3429

3530
compileOptions {
@@ -46,31 +41,18 @@ android {
4641
}
4742

4843
defaultConfig {
49-
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
5044
applicationId "com.doreanbyte.katswiri"
51-
// You can update the following values to match your application needs.
52-
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
5345
minSdkVersion flutter.minSdkVersion
5446
targetSdkVersion flutter.targetSdkVersion
5547
versionCode flutterVersionCode.toInteger()
5648
versionName flutterVersionName
5749
}
5850

59-
signingConfigs {
60-
release {
61-
keyAlias keystoreProperties['keyAlias']
62-
keyPassword keystoreProperties['keyPassword']
63-
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
64-
storePassword keystoreProperties['storePassword']
65-
}
66-
}
67-
68-
buildTypes {
69-
release {
70-
signingConfig signingConfigs.release
71-
}
72-
}
73-
51+
buildTypes {
52+
release {
53+
signingConfig signingConfigs.debug
54+
}
55+
}
7456
}
7557

7658
flutter {

0 commit comments

Comments
 (0)