Repository navigation
Expand file tree
/
Copy pathpubspec.yaml
More file actions
262 lines (231 loc) · 8.13 KB
/
Copy pathpubspec.yaml
File metadata and controls
262 lines (231 loc) · 8.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
# For docs on this file format, see:
# https://dart.dev/tools/pub/pubspec
# https://docs.flutter.dev/tools/pubspec
# https://github.com/flutter/flutter/blob/main/packages/flutter_tools/templates/app/pubspec.yaml.tmpl
name: zulip
description: A Zulip client for Android and iOS
publish_to: 'none'
# Keep the last two numbers equal; see docs/release.md.
version: 30.0.275+275
environment:
# We use a recent version of Flutter from its main channel, and
# the corresponding recent version of the Dart SDK.
# Feel free to update these regularly; see README.md for instructions.
sdk: '>=3.15.0-71.0.dev <4.0.0'
flutter: '>=3.50.0-1.0.pre-219' # a29b620b741a1f1a5a0e371c87a59d06f4984865
# To update dependencies, see instructions in README.md.
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
# For some packages that are pinned by the Flutter SDK, we write no
# constraint, to avoid unnecessarily breaking when Flutter takes a
# new version. (This risks getting a new version that really is
# incompatible; but that's true of Flutter itself on each upgrade.)
# We only do this for packages with a history of major-version bumps
# that caused more churn than real incompatibilities.
intl: any # pinned by flutter_localizations; churn history:
# https://github.com/dart-lang/i18n/issues/458#issuecomment-1513231235
# https://github.com/dart-lang/i18n/issues/759#issuecomment-1864316701
# https://github.com/flutter/flutter/issues/117163
# Listed for its minimum version: before 2.1.1, when the user picks
# several files and none can be read, it returns an empty list,
# as if the user cancelled, instead of throwing.
android_file_picker: ^2.1.1
app_settings: ^7.0.0
collection: ^1.17.2
connectivity_plus: ^7.3.1
connectivity_plus_platform_interface: ^2.1.0
convert: ^3.1.1
crypto: ^3.0.3
csslib: ^1.0.2
cupertino_ui: ^1.1.1
device_info_plus: ^13.3.0
drift: ^2.23.0
file_picker: ^13.1.0
# Listed for its minimum version: earlier versions ignore the
# `orderedSelection: false` we pass (before 2.2.0), or have iOS bugs
# fixed in 2.3.1 and 2.3.2.
file_picker_darwin: ^2.3.2
# TODO(#2257) Capped below firebase_messaging 16.5.0, where the plugin's
# launch-time APNs registration became conditional on an auto-init
# setting that's off while we configure Firebase from Dart, so
# getAPNSToken returns null:
# https://github.com/firebase/flutterfire/pull/18452
# Capping firebase_core holds firebase_messaging's sibling packages back
# too. Upgrade both to latest once we stop using Firebase on iOS.
firebase_core: '>=4.13.0 <4.14.0'
firebase_messaging: '>=16.4.3 <16.5.0'
flutter_color_models: ^1.3.3+2
html: ^0.15.1
http: ^1.0.0
http_parser: ^4.0.2
image_picker: ^1.0.0
image_picker_android: ^0.8.13+14
image_picker_platform_interface: ^2.11.1
json_annotation: ^4.9.0
material_ui: ^1.5.0
meta: ^1.18.3
mime: ^2.0.0
package_info_plus: ^10.2.2
path: ^1.8.3
path_provider: ^2.0.13
path_provider_foundation: ^2.6.0
share_plus: ^13.3.1
share_plus_platform_interface: ^7.2.0
sodium: ^4.0.2+1
sqlite3: ^3.3.1
unorm_dart: ^0.3.1+1
url_launcher: ^6.1.11
url_launcher_android: ">=6.1.0"
video_player: ^2.10.0
wakelock_plus: ^1.8.0
zulip_plugin:
path: ./packages/zulip_plugin
# Keep list sorted when adding dependencies; it helps prevent merge conflicts.
dependency_overrides:
# TODO(#918) remove this and `flutter_color_models` when `flutter_color_models` accommodates
# wide-gamut adjustments to Flutter's `Color`. A PR to `flutter_color_models` is already open:
# https://github.com/james-alex/color_models/pull/10
color_models:
git:
url: https://github.com/gaaclarke/color_models.git
ref: wide-gamut
path: color_models
flutter_color_models:
git:
url: https://github.com/gaaclarke/color_models.git
ref: wide-gamut
path: flutter_color_models
dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
sdk: flutter
args: ^2.5.0
build_runner: ^2.3.3
checks: ^0.3.0
clock: ^1.1.1
drift_dev: ^2.5.2
fake_async: ^1.3.1
flutter_checks: ^0.1.2
flutter_lints: ^6.0.0
ini: ^2.1.0
json_serializable: ^6.5.4
legacy_checks: ^0.1.0
patrol: ^4.1.1
pigeon: ^27.1.0
stack_trace: ^1.11.1
test: ^1.23.1
test_api: ^0.7.3
video_player_platform_interface: ^6.2.2
# Keep list sorted when adding dependencies; it helps prevent merge conflicts.
flutter:
config:
# TODO(#2218) re-enable
enable-swift-package-manager: false
generate: true
uses-material-design: true
assets:
- assets/KaTeX/LICENSE
- assets/Noto_Color_Emoji/LICENSE
- assets/Pygments/AUTHORS.txt
- assets/Pygments/LICENSE.txt
- assets/Source_Code_Pro/LICENSE.md
- assets/Source_Sans_3/LICENSE.md
fonts:
# KaTeX's custom fonts.
- family: KaTeX_AMS
fonts:
- asset: assets/KaTeX/KaTeX_AMS-Regular.ttf
- family: KaTeX_Caligraphic
fonts:
- asset: assets/KaTeX/KaTeX_Caligraphic-Regular.ttf
- asset: assets/KaTeX/KaTeX_Caligraphic-Bold.ttf
weight: 700
- family: KaTeX_Fraktur
fonts:
- asset: assets/KaTeX/KaTeX_Fraktur-Regular.ttf
- asset: assets/KaTeX/KaTeX_Fraktur-Bold.ttf
weight: 700
- family: KaTeX_Main
fonts:
- asset: assets/KaTeX/KaTeX_Main-Regular.ttf
- asset: assets/KaTeX/KaTeX_Main-Bold.ttf
weight: 700
- asset: assets/KaTeX/KaTeX_Main-Italic.ttf
style: italic
- asset: assets/KaTeX/KaTeX_Main-BoldItalic.ttf
weight: 700
style: italic
- family: KaTeX_Math
fonts:
- asset: assets/KaTeX/KaTeX_Math-Italic.ttf
style: italic
- asset: assets/KaTeX/KaTeX_Math-BoldItalic.ttf
weight: 700
style: italic
- family: KaTeX_SansSerif
fonts:
- asset: assets/KaTeX/KaTeX_SansSerif-Regular.ttf
- asset: assets/KaTeX/KaTeX_SansSerif-Bold.ttf
weight: 700
- asset: assets/KaTeX/KaTeX_SansSerif-Italic.ttf
style: italic
- family: KaTeX_Script
fonts:
- asset: assets/KaTeX/KaTeX_Script-Regular.ttf
- family: KaTeX_Size1
fonts:
- asset: assets/KaTeX/KaTeX_Size1-Regular.ttf
- family: KaTeX_Size2
fonts:
- asset: assets/KaTeX/KaTeX_Size2-Regular.ttf
- family: KaTeX_Size3
fonts:
- asset: assets/KaTeX/KaTeX_Size3-Regular.ttf
- family: KaTeX_Size4
fonts:
- asset: assets/KaTeX/KaTeX_Size4-Regular.ttf
- family: KaTeX_Typewriter
fonts:
- asset: assets/KaTeX/KaTeX_Typewriter-Regular.ttf
# Google's emoji font. (Web uses these emoji for the "Google" emojiset.)
#
# This should not be used on iOS.
# iOS doesn't support any of the formats this font is available in,
# and if we use it on iOS (whether as a primary font or a fallback)
# we'll get blank spaces where we could have had Apple-style emojis.
#
# Also, in text that might contain non-emoji glyphs, this should
# always come after a non-emoji font in the chain of font-family
# fallbacks. Letting this font handle e.g. space characters will
# make text look weird.
# TODO don't bundle this on iOS; it wastes several MB because it's unused.
- family: Noto Color Emoji
fonts:
- asset: assets/Noto_Color_Emoji/Noto-COLRv1.ttf
- family: Source Code Pro
fonts:
- asset: assets/Source_Code_Pro/SourceCodeVF-Upright.otf
- asset: assets/Source_Code_Pro/SourceCodeVF-Italic.otf
style: italic
- family: Source Sans 3
fonts:
- asset: assets/Source_Sans_3/SourceSans3VF-Upright.otf
- asset: assets/Source_Sans_3/SourceSans3VF-Italic.otf
style: italic
# Zulip's custom icons. To use or edit, see class ZulipIcons.
- family: Zulip Icons
fonts:
- asset: assets/icons/ZulipIcons.ttf
# If adding a font, remember to account for its license in lib/licenses.dart.
patrol:
app_name: Zulip
android:
package_name: com.zulipmobile
ios:
bundle_id: org.zulip.Zulip