Skip to content

Commit bbda25f

Browse files
committed
Update audio_soloud for Flutter 3.33
1 parent 815da16 commit bbda25f

File tree

43 files changed

+792
-794
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+792
-794
lines changed

audio_soloud/codelab_rebuild.yaml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -37,32 +37,6 @@ steps:
3737
path: audio_soloud
3838
flutter: pub upgrade --major-versions
3939

40-
- name: Update iOS deployment target
41-
path: audio_soloud/ios/Podfile
42-
patch-u: |
43-
--- b/audio_soloud/ios/Podfile
44-
+++ a/audio_soloud/ios/Podfile
45-
@@ -1,5 +1,5 @@
46-
-# Uncomment this line to define a global platform for your project
47-
-# platform :ios, '12.0'
48-
+# SoLoud requires iOS 13.0 minimum, Flutter only requires 12.0
49-
+platform :ios, '13.0'
50-
51-
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
52-
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
53-
54-
- name: Update macOS deployment target
55-
path: audio_soloud/macos/Podfile
56-
patch-u: |
57-
--- b/audio_soloud/macos/Podfile
58-
+++ a/audio_soloud/macos/Podfile
59-
@@ -1,4 +1,4 @@
60-
-platform :osx, '10.14'
61-
+platform :osx, '10.15'
62-
63-
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
64-
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
65-
6640
- name: Create lib/audio directory
6741
mkdir: audio_soloud/lib/audio
6842

audio_soloud/step_02/android/build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ allprojects {
55
}
66
}
77

8-
val newBuildDir: Directory = rootProject.layout.buildDirectory.dir("../../build").get()
8+
val newBuildDir: Directory =
9+
rootProject.layout.buildDirectory
10+
.dir("../../build")
11+
.get()
912
rootProject.layout.buildDirectory.value(newBuildDir)
1013

1114
subprojects {

audio_soloud/step_02/android/settings.gradle.kts

Lines changed: 9 additions & 8 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

@@ -18,7 +19,7 @@ pluginManagement {
1819

1920
plugins {
2021
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
21-
id("com.android.application") version "8.7.3" apply false
22+
id("com.android.application") version "8.9.1" apply false
2223
id("org.jetbrains.kotlin.android") version "2.1.0" apply false
2324
}
2425

audio_soloud/step_02/ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>12.0</string>
24+
<string>13.0</string>
2525
</dict>
2626
</plist>

audio_soloud/step_02/ios/Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# SoLoud requires iOS 13.0 minimum, Flutter only requires 12.0
2-
platform :ios, '13.0'
1+
# Uncomment this line to define a global platform for your project
2+
# platform :ios, '13.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

audio_soloud/step_02/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 67 additions & 67 deletions
Large diffs are not rendered by default.

audio_soloud/step_02/macos/Runner.xcodeproj/project.pbxproj

Lines changed: 48 additions & 48 deletions
Large diffs are not rendered by default.

audio_soloud/step_02/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ publish_to: 'none'
44
version: 0.1.0
55

66
environment:
7-
sdk: ^3.8.0
7+
sdk: ^3.9.0-0
88

99
dependencies:
1010
flutter:

audio_soloud/step_03/android/build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ allprojects {
55
}
66
}
77

8-
val newBuildDir: Directory = rootProject.layout.buildDirectory.dir("../../build").get()
8+
val newBuildDir: Directory =
9+
rootProject.layout.buildDirectory
10+
.dir("../../build")
11+
.get()
912
rootProject.layout.buildDirectory.value(newBuildDir)
1013

1114
subprojects {

audio_soloud/step_03/android/settings.gradle.kts

Lines changed: 9 additions & 8 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

@@ -18,7 +19,7 @@ pluginManagement {
1819

1920
plugins {
2021
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
21-
id("com.android.application") version "8.7.3" apply false
22+
id("com.android.application") version "8.9.1" apply false
2223
id("org.jetbrains.kotlin.android") version "2.1.0" apply false
2324
}
2425

0 commit comments

Comments
 (0)