Merge pull request #1621 from krille-chan/krille/update-native-imaging

build: Update native-imaging
This commit is contained in:
Krille-chan 2025-02-16 17:14:00 +01:00 committed by GitHub
commit 7a4e7252ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 29 deletions

View file

@ -7,30 +7,6 @@ allprojects {
rootProject.buildDir = '../build'
// Workaround for building with Flutter 3.24
// See: https://github.com/flutter/flutter/issues/153281#issuecomment-2292201697
subprojects {
afterEvaluate { project ->
if (project.extensions.findByName("android") != null) {
Integer pluginCompileSdk = project.android.compileSdk
if (pluginCompileSdk != null && pluginCompileSdk < 31) {
project.logger.error(
"Warning: Overriding compileSdk version in Flutter plugin: "
+ project.name
+ " from "
+ pluginCompileSdk
+ " to 31 (to work around https://issuetracker.google.com/issues/199180389)."
+ "\nIf there is not a new version of " + project.name + ", consider filing an issue against "
+ project.name
+ " to increase their compileSdk to the latest (otherwise try updating to the latest version)."
)
project.android {
compileSdk 31
}
}
}
}
}
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
project.evaluationDependsOn(":app")

View file

@ -1196,10 +1196,11 @@ packages:
native_imaging:
dependency: "direct main"
description:
name: native_imaging
sha256: "182ccd8e0815a8a2158500ef66c828c030f6b9e05783e41e22f33bbcfd46a3d5"
url: "https://pub.dev"
source: hosted
path: "."
ref: HEAD
resolved-ref: d76335e2039c041585df8103f5d4f5924e9e2add
url: "https://github.com/famedly/dart_native_imaging.git"
source: git
version: "0.1.1"
nested:
dependency: transitive

View file

@ -61,7 +61,8 @@ dependencies:
linkify: ^5.0.0
matrix: ^0.38.0
mime: ^1.0.6
native_imaging: ^0.1.1
native_imaging:
git: https://github.com/famedly/dart_native_imaging.git
opus_caf_converter_dart: ^1.0.1
package_info_plus: ^8.0.2
pasteboard: ^0.2.0