Upgrade to latest Flutter version (fix Gradle and other errors)

This commit is contained in:
Imran Remtulla
2025-01-11 22:35:40 +03:00
parent c84f51b6ce
commit 9954b68332
13 changed files with 138 additions and 114 deletions

View File

@ -1,6 +1,5 @@
name: obtainium
description: Get Android app updates straight from the source.
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
@ -20,7 +19,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.1.37+2294
environment:
sdk: '>=3.0.0 <4.0.0'
sdk: ^3.6.0
# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
@ -32,7 +31,6 @@ dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.5
@ -51,11 +49,14 @@ dependencies:
device_info_plus: ^11.0.0
file_picker: ^8.0.0+1
animations: ^2.0.4
android_package_installer:
android_package_installer: # TODO: See if PR will be accepted (dev may not be active), else remove this comment
git:
url: https://github.com/ImranR98/android_package_installer
ref: main
android_package_manager: ^0.7.0
android_package_manager: # TODO: Make PR and switch to upstream
git:
url: https://github.com/ImranR98/android_package_manager
ref: master
share_plus: ^10.0.0
sqflite: ^2.2.0+3
easy_localization: ^3.0.1
@ -64,7 +65,10 @@ dependencies:
flutter_archive: ^6.0.0
hsluv: ^1.1.3
connectivity_plus: ^6.0.1
shared_storage: ^0.8.0
shared_storage: # TODO: Is this maintained?
git:
url: https://github.com/AlexBacich/shared-storage
ref: master
crypto: ^3.0.3
app_links: ^6.0.1
background_fetch: ^1.2.1
@ -110,20 +114,20 @@ flutter:
uses-material-design: true
# To add assets to your application, add an assets section, like this:
# - assets:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
assets:
- assets/translations/
- assets/graphics/
- assets/ca/
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware
# https://flutter.dev/to/resolution-aware-images
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/assets-and-images/#from-packages
# https://flutter.dev/to/asset-from-package
# To add custom fonts to your application, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
@ -143,7 +147,7 @@ flutter:
# weight: 700
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/custom-fonts/#from-packages
# see https://flutter.dev/to/font-from-package
fonts:
- family: Wix-Madefor-Display