Skip to content

Commit 0d0a3cc

Browse files
committed
Regenerate Flutter v3.24.0
1 parent 9881444 commit 0d0a3cc

File tree

18 files changed

+61
-109
lines changed

18 files changed

+61
-109
lines changed

.metadata

Lines changed: 15 additions & 15 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: "bae5e49bc2a867403c43b2aae2de8f8c33b037e4"
7+
revision: "5874a72aa4c779a02553007c47dacbefba2374dc"
88
channel: "stable"
99

1010
project_type: app
@@ -13,26 +13,26 @@ project_type: app
1313
migration:
1414
platforms:
1515
- platform: root
16-
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
17-
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
16+
create_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
17+
base_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
1818
- platform: android
19-
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
20-
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
19+
create_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
20+
base_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
2121
- platform: ios
22-
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
23-
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
22+
create_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
23+
base_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
2424
- platform: linux
25-
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
26-
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
25+
create_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
26+
base_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
2727
- platform: macos
28-
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
29-
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
28+
create_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
29+
base_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
3030
- platform: web
31-
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
32-
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
31+
create_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
32+
base_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
3333
- platform: windows
34-
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
35-
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
34+
create_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
35+
base_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
3636

3737
# User provided section
3838

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: 16 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,44 @@
11
plugins {
22
id "com.android.application"
33
id "kotlin-android"
4+
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
45
id "dev.flutter.flutter-gradle-plugin"
56
}
67

7-
def localProperties = new Properties()
8-
def localPropertiesFile = rootProject.file('local.properties')
9-
if (localPropertiesFile.exists()) {
10-
localPropertiesFile.withReader('UTF-8') { reader ->
11-
localProperties.load(reader)
12-
}
13-
}
14-
15-
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
16-
if (flutterVersionCode == null) {
17-
flutterVersionCode = '1'
18-
}
19-
20-
def flutterVersionName = localProperties.getProperty('flutter.versionName')
21-
if (flutterVersionName == null) {
22-
flutterVersionName = '1.0'
23-
}
24-
258
android {
26-
namespace "com.minimal"
27-
compileSdk flutter.compileSdkVersion
28-
ndkVersion flutter.ndkVersion
9+
namespace = "com.minimal"
10+
compileSdk = flutter.compileSdkVersion
11+
ndkVersion = flutter.ndkVersion
2912

3013
compileOptions {
31-
sourceCompatibility JavaVersion.VERSION_1_8
32-
targetCompatibility JavaVersion.VERSION_1_8
14+
sourceCompatibility = JavaVersion.VERSION_1_8
15+
targetCompatibility = JavaVersion.VERSION_1_8
3316
}
3417

3518
kotlinOptions {
36-
jvmTarget = '1.8'
37-
}
38-
39-
sourceSets {
40-
main.java.srcDirs += 'src/main/kotlin'
19+
jvmTarget = JavaVersion.VERSION_1_8
4120
}
4221

4322
defaultConfig {
4423
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
45-
applicationId "com.minimal"
46-
minSdkVersion flutter.minSdkVersion
47-
targetSdkVersion flutter.targetSdkVersion
48-
versionCode flutterVersionCode.toInteger()
49-
versionName flutterVersionName
24+
applicationId = "com.minimal"
25+
// You can update the following values to match your application needs.
26+
// For more information, see: https://flutter.dev/to/review-gradle-config.
27+
minSdk = flutter.minSdkVersion
28+
targetSdk = flutter.targetSdkVersion
29+
versionCode = flutter.versionCode
30+
versionName = flutter.versionName
5031
}
5132

5233
buildTypes {
5334
release {
5435
// TODO: Add your own signing config for the release build.
5536
// Signing with the debug keys for now, so `flutter run --release` works.
56-
signingConfig signingConfigs.debug
37+
signingConfig = signingConfigs.debug
5738
}
5839
}
5940
}
6041

6142
flutter {
62-
source '../..'
43+
source = "../.."
6344
}
64-
65-
dependencies {}

android/app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
android:name=".MainActivity"
88
android:exported="true"
99
android:launchMode="singleTop"
10+
android:taskAffinity=""
1011
android:theme="@style/LaunchTheme"
1112
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
1213
android:hardwareAccelerated="true"
@@ -31,7 +32,7 @@
3132
android:value="2" />
3233
</application>
3334
<!-- Required to query activities that can process text, see:
34-
https://developer.android.com/training/package-visibility?hl=en and
35+
https://developer.android.com/training/package-visibility and
3536
https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
3637
3738
In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ allprojects {
55
}
66
}
77

8-
rootProject.buildDir = '../build'
8+
rootProject.buildDir = "../build"
99
subprojects {
1010
project.buildDir = "${rootProject.buildDir}/${project.name}"
1111
}
1212
subprojects {
13-
project.evaluationDependsOn(':app')
13+
project.evaluationDependsOn(":app")
1414
}
1515

1616
tasks.register("clean", Delete) {

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
1+
org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError
22
android.useAndroidX=true
33
android.enableJetifier=true

android/settings.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ pluginManagement {
55
def flutterSdkPath = properties.getProperty("flutter.sdk")
66
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
77
return flutterSdkPath
8-
}
9-
settings.ext.flutterSdkPath = flutterSdkPath()
8+
}()
109

11-
includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle")
10+
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
1211

1312
repositories {
1413
google()

ios/Runner/AppDelegate.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import UIKit
21
import Flutter
2+
import UIKit
33

4-
@UIApplicationMain
4+
@main
55
@objc class AppDelegate: FlutterAppDelegate {
66
override func application(
77
_ application: UIApplication,

linux/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ project(runner LANGUAGES CXX)
44

55
# The name of the executable created for the application. Change this to change
66
# the on-disk name of your application.
7-
set(BINARY_NAME "example")
7+
set(BINARY_NAME "Minimal")
88
# The unique GTK application identifier for this application. See:
99
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
1010
set(APPLICATION_ID "com.minimal")

linux/my_application.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ static void my_application_activate(GApplication* application) {
4040
if (use_header_bar) {
4141
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
4242
gtk_widget_show(GTK_WIDGET(header_bar));
43-
gtk_header_bar_set_title(header_bar, "example");
43+
gtk_header_bar_set_title(header_bar, "Minimal");
4444
gtk_header_bar_set_show_close_button(header_bar, TRUE);
4545
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
4646
} else {
47-
gtk_window_set_title(window, "example");
47+
gtk_window_set_title(window, "Minimal");
4848
}
4949

5050
gtk_window_set_default_size(window, 1280, 720);

0 commit comments

Comments
 (0)