Skip to content

Commit 2c30d34

Browse files
committed
nit
1 parent 55a7dff commit 2c30d34

File tree

5 files changed

+13
-35
lines changed

5 files changed

+13
-35
lines changed

.metadata

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# This file should be version controlled and should not be manually edited.
55

66
version:
7-
revision: "5dcb86f68f239346676ceb1ed1ea385bd215fba1"
7+
revision: "2663184aa79047d0a33a14a3b607954f8fdd8730"
88
channel: "stable"
99

1010
project_type: app
@@ -13,11 +13,11 @@ project_type: app
1313
migration:
1414
platforms:
1515
- platform: root
16-
create_revision: 5dcb86f68f239346676ceb1ed1ea385bd215fba1
17-
base_revision: 5dcb86f68f239346676ceb1ed1ea385bd215fba1
18-
- platform: ios
19-
create_revision: 5dcb86f68f239346676ceb1ed1ea385bd215fba1
20-
base_revision: 5dcb86f68f239346676ceb1ed1ea385bd215fba1
16+
create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730
17+
base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730
18+
- platform: android
19+
create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730
20+
base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730
2121

2222
# User provided section
2323

android/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ gradle-wrapper.jar
77
GeneratedPluginRegistrant.java
88

99
# Remember to never publicly share your keystore.
10-
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
10+
# See https://flutter.dev/to/reference-keystore
1111
key.properties
1212
**/*.keystore
1313
**/*.jks

android/app/build.gradle

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,8 @@ plugins {
44
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
55
id "dev.flutter.flutter-gradle-plugin"
66
}
7-
8-
def localProperties = new Properties()
9-
def localPropertiesFile = rootProject.file("local.properties")
10-
if (localPropertiesFile.exists()) {
11-
localPropertiesFile.withReader("UTF-8") { reader ->
12-
localProperties.load(reader)
13-
}
14-
}
15-
16-
def flutterVersionCode = localProperties.getProperty("flutter.versionCode")
17-
if (flutterVersionCode == null) {
18-
flutterVersionCode = "1"
19-
}
20-
21-
def flutterVersionName = localProperties.getProperty("flutter.versionName")
22-
if (flutterVersionName == null) {
23-
flutterVersionName = "1.0"
24-
}
25-
26-
277
// TODO: Change the appName, it will be used as app label
28-
def appName = "Flutter Template"
8+
def appName = "Application Name"
299

3010
// TODO: Change the applicationId for production
3111
// On staging it will add .staging and on development it will add .development as suffix.
@@ -49,11 +29,11 @@ android {
4929
defaultConfig {
5030
applicationId = "$applicationId"
5131
// You can update the following values to match your application needs.
52-
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
32+
// For more information, see: https://flutter.dev/to/review-gradle-config.
5333
minSdk = flutter.minSdkVersion
5434
targetSdk = flutter.targetSdkVersion
55-
versionCode = flutterVersionCode.toInteger()
56-
versionName = flutterVersionName
35+
versionCode = flutter.versionCode
36+
versionName = flutter.versionName
5737
}
5838

5939
buildTypes {

android/build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ allprojects {
55
}
66
}
77

8-
rootProject.buildDir = '../build'
9-
10-
8+
rootProject.buildDir = "../build"
119
// [NStack] the namespace property is null within
1210
// the android block of the build.gradle file for the nstack sdk.
1311
// Additionally, the Kotlin Gradle plugin is using a very old version there.

android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
org.gradle.jvmargs=-Xmx4G -XX:+HeapDumpOnOutOfMemoryError
1+
org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError
22
android.useAndroidX=true
33
android.enableJetifier=true

0 commit comments

Comments
 (0)