Skip to content

Commit 8b20b55

Browse files
authored
Fix compass_app build issues (#2729) (#2731)
Fix build issues that prevent compass_app from building and running out of the box. * add compass_app folders to list of workspaces in root pubspec * align dependency versions to resolve conflicts ## Pre-launch Checklist - [ ] I read the [Flutter Style Guide] _recently_, and have followed its advice. - [ x] I signed the [CLA]. - [ x] I read the [Contributors Guide]. - [ ] I have added sample code updates to the [changelog]. - [ ] I updated/added relevant documentation (doc comments with `///`). If you need help, consider asking for advice on the #hackers-devrel channel on [Discord]. <!-- Links --> [Flutter Style Guide]: https://github.com/flutter/flutter/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md [CLA]: https://cla.developers.google.com/ [Discord]: https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md [Contributors Guide]: https://github.com/flutter/samples/blob/main/CONTRIBUTING.md [changelog]: ../CHANGELOG.md
1 parent 38e3539 commit 8b20b55

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

compass_app/app/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip

compass_app/app/android/settings.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ pluginManagement {
1818

1919
plugins {
2020
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
21-
id "com.android.application" version "8.1.0" apply false
22-
id "org.jetbrains.kotlin.android" version "1.8.22" apply false
21+
id "com.android.application" version "8.6.0" apply false
22+
id "org.jetbrains.kotlin.android" version "2.1.0" apply false
2323
}
2424

2525
include ":app"

compass_app/app/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies:
1515
flutter_localizations:
1616
sdk: flutter
1717
flutter_svg: ^2.0.16
18-
freezed_annotation: ^2.4.4
18+
freezed_annotation: ^3.0.0
1919
go_router: ^16.0.0
2020
google_fonts: ^6.2.1
2121
intl: any

compass_app/server/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies:
1111
args: ^2.4.0
1212
shelf: ^1.4.0
1313
shelf_router: ^1.1.0
14-
freezed_annotation: ^2.4.4
14+
freezed_annotation: ^3.0.0
1515
json_annotation: ^4.9.0
1616

1717
dev_dependencies:
@@ -20,5 +20,5 @@ dev_dependencies:
2020
path: ../../analysis_defaults
2121
test: ^1.24.0
2222
build_runner: ^2.4.11
23-
freezed: ^2.5.7
23+
freezed: ^3.0.0
2424
json_serializable: ^6.8.0

pubspec.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ workspace:
1919
- code_sharing/client
2020
- code_sharing/server
2121
- code_sharing/shared
22+
- compass_app/app
23+
- compass_app/server
2224
- context_menus
2325
- date_planner
2426
- deeplink_store_example

0 commit comments

Comments
 (0)