Skip to content

Commit d077073

Browse files
upgrade: dependencies (#461)
* upgrade: dependencies * [autofix.ci] apply automated fixes * upgrade: align analysis_server_plugin version to ^0.3.1 Update analysis_server_plugin dependency from ^0.3.0 to ^0.3.1 in nilts and nilts_clock packages for consistency with nilts_flutter_hooks. --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 17dd7d8 commit d077073

File tree

11 files changed

+65
-42
lines changed

11 files changed

+65
-42
lines changed

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
flutter 3.38.3
1+
flutter 3.41.4
22
java temurin-17.0.17+10
33
bun 1.3.9

examples/nilts_example/android/settings.gradle.kts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
pluginManagement {
2-
val flutterSdkPath = run {
3-
val properties = java.util.Properties()
4-
file("local.properties").inputStream().use { properties.load(it) }
5-
val flutterSdkPath = properties.getProperty("flutter.sdk")
6-
require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
7-
flutterSdkPath
8-
}
2+
val flutterSdkPath =
3+
run {
4+
val properties = java.util.Properties()
5+
file("local.properties").inputStream().use { properties.load(it) }
6+
val flutterSdkPath = properties.getProperty("flutter.sdk")
7+
require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
8+
flutterSdkPath
9+
}
910

1011
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
1112

examples/nilts_example/ios/Flutter/AppFrameworkInfo.plist

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,5 @@
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
23-
<key>MinimumOSVersion</key>
24-
<string>13.0</string>
2523
</dict>
2624
</plist>

examples/nilts_example/ios/Runner/AppDelegate.swift

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@ import Flutter
22
import UIKit
33

44
@main
5-
@objc class AppDelegate: FlutterAppDelegate {
5+
@objc class AppDelegate: FlutterAppDelegate, FlutterImplicitEngineDelegate {
66
override func application(
77
_ application: UIApplication,
88
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
99
) -> Bool {
10-
GeneratedPluginRegistrant.register(with: self)
1110
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
1211
}
12+
13+
func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) {
14+
GeneratedPluginRegistrant.register(with: engineBridge.pluginRegistry)
15+
}
1316
}

examples/nilts_example/ios/Runner/Info.plist

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5+
<key>CADisableMinimumFrameDurationOnPhone</key>
6+
<true/>
57
<key>CFBundleDevelopmentRegion</key>
68
<string>$(DEVELOPMENT_LANGUAGE)</string>
79
<key>CFBundleDisplayName</key>
@@ -24,6 +26,29 @@
2426
<string>$(FLUTTER_BUILD_NUMBER)</string>
2527
<key>LSRequiresIPhoneOS</key>
2628
<true/>
29+
<key>UIApplicationSceneManifest</key>
30+
<dict>
31+
<key>UIApplicationSupportsMultipleScenes</key>
32+
<false/>
33+
<key>UISceneConfigurations</key>
34+
<dict>
35+
<key>UIWindowSceneSessionRoleApplication</key>
36+
<array>
37+
<dict>
38+
<key>UISceneClassName</key>
39+
<string>UIWindowScene</string>
40+
<key>UISceneConfigurationName</key>
41+
<string>flutter</string>
42+
<key>UISceneDelegateClassName</key>
43+
<string>FlutterSceneDelegate</string>
44+
<key>UISceneStoryboardFile</key>
45+
<string>Main</string>
46+
</dict>
47+
</array>
48+
</dict>
49+
</dict>
50+
<key>UIApplicationSupportsIndirectInputEvents</key>
51+
<true/>
2752
<key>UILaunchStoryboardName</key>
2853
<string>LaunchScreen</string>
2954
<key>UIMainStoryboardFile</key>
@@ -41,9 +66,5 @@
4166
<string>UIInterfaceOrientationLandscapeLeft</string>
4267
<string>UIInterfaceOrientationLandscapeRight</string>
4368
</array>
44-
<key>CADisableMinimumFrameDurationOnPhone</key>
45-
<true/>
46-
<key>UIApplicationSupportsIndirectInputEvents</key>
47-
<true/>
4869
</dict>
4970
</plist>

examples/nilts_example/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ description: A new Flutter project.
33
publish_to: 'none'
44

55
environment:
6-
sdk: '>=3.10.1 <4.0.0'
7-
flutter: '>=3.38.3'
6+
sdk: '>=3.11.1 <4.0.0'
7+
flutter: '>=3.41.4'
88

99
resolution: workspace
1010

packages/nilts/pubspec.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ resolution: workspace
3131
dependencies:
3232
nilts_core: ^1.0.0
3333

34-
analyzer: '>=8.0.0 <9.0.0'
35-
analyzer_plugin: ^0.13.0
36-
analysis_server_plugin: ^0.3.0
34+
analyzer: ^9.0.0
35+
analyzer_plugin: ^0.13.11
36+
analysis_server_plugin: ^0.3.1
3737

3838
pub_semver: ^2.2.0
3939

4040
dev_dependencies:
41-
very_good_analysis: 10.0.0
41+
very_good_analysis: 10.2.0
4242

43-
test: 1.26.3
44-
analyzer_testing: 0.1.5
43+
test: 1.30.0
44+
analyzer_testing: 0.1.7

packages/nilts_clock/pubspec.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ resolution: workspace
2828
dependencies:
2929
nilts_core: ^1.0.0
3030

31-
analyzer: '>=8.0.0 <9.0.0'
32-
analyzer_plugin: ^0.13.0
33-
analysis_server_plugin: ^0.3.0
31+
analyzer: ^9.0.0
32+
analyzer_plugin: ^0.13.11
33+
analysis_server_plugin: ^0.3.1
3434

3535
dev_dependencies:
36-
very_good_analysis: 10.0.0
36+
very_good_analysis: 10.2.0
3737

38-
test: 1.26.3
39-
analyzer_testing: 0.1.5
38+
test: 1.30.0
39+
analyzer_testing: 0.1.7

packages/nilts_core/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ environment:
2929
resolution: workspace
3030

3131
dependencies:
32-
analyzer: '>=8.0.0 <9.0.0'
32+
analyzer: ^9.0.0
3333
meta: ^1.9.1
3434

3535
dev_dependencies:
36-
very_good_analysis: 10.0.0
36+
very_good_analysis: 10.2.0
3737

38-
test: 1.26.3
38+
test: 1.30.0

packages/nilts_flutter_hooks/pubspec.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ resolution: workspace
2828
dependencies:
2929
nilts_core: ^1.0.0
3030

31-
analyzer: '>=8.0.0 <9.0.0'
32-
analyzer_plugin: ^0.13.0
33-
analysis_server_plugin: ^0.3.0
31+
analyzer: ^9.0.0
32+
analyzer_plugin: ^0.13.11
33+
analysis_server_plugin: ^0.3.1
3434

3535
dev_dependencies:
36-
very_good_analysis: 10.0.0
36+
very_good_analysis: 10.2.0
3737

38-
test: 1.26.3
39-
analyzer_testing: 0.1.5
38+
test: 1.30.0
39+
analyzer_testing: 0.1.7

0 commit comments

Comments
 (0)