native_assets_builder 0.8.2 native_assets_builder: ^0.8.2 copied to clipboard
This package is the backend that invokes build hooks.
0.8.2 #
- Fix some more cases of:
BuildConfig.dependencies
andLinkConfig.dependencies
no longer have to specify Dart sources. DataAsset
test projects report all assets fromassets/
dir and default the asset names to the path inside the package.- Automatically locks build directories to prevent concurrency issues with
multiple concurrent
dart
and orflutter
invocations. - Bump
package:native_assets_cli
to 0.7.3.
0.8.1 #
BuildRunner
now automatically invokes build hooks again if any of their Dart sources changed.- Add more data asset test files.
0.8.0 #
BuildRunner.build
andBuildRunner.buildDryRun
now have a requiredlinkingEnabled
parameter.
0.7.1 #
- Use
HookConfig.targetIosSdk
andHookConfig.targetMacosSdk
optional values, and add examples to fail builds based on this. - Add data asset test project.
0.7.0 #
- Add support for
hook/link.dart
including dry runs. Link hooks that do not have assets for link sent to them, are not run. Link hooks are not ordered. - Fix test.
- Bump
package:native_assets_cli
to 0.6.0. - Copy
resources.json
to the build directory.
0.6.0 #
- Breaking change Completely rewritten API in
native_assets_cli
. - Breaking change Move
build.dart
tohook/build.dart
. https://github.com/dart-lang/native/issues/823 (Backwards compatibility, fallback to toplevelbuild.dart
.) - Bump
package:native_assets_cli
to 0.5.0.
0.5.0 #
- Breaking change: Hide implementation of
KernelAssets
.
0.4.0 #
- Breaking change: Split out the
KernelAsset
s from normalAsset
s.
0.3.2 #
- Reintroduce
AssetRelativePath
, it's used indart build
.
0.3.1 #
- Add support for
runPackageName
to avoid native assets for packages that the root package depends on but the package being run doesn't. - Bump
package:native_assets_cli
to 0.4.1. - Moved test projects from
test/data/
totest_data/
.
0.2.2 #
- Take a
PackageLayout
argument forbuild
anddryRun
(flutter#134427).
0.2.1 #
- Provide a
PackageLayout
constructor for already parsedPackageConfig
(flutter#134427).
0.2.0 #
- Breaking change
NativeAssetsBuildRunner
s methods now return an object (#105). - Breaking change
NativeAssetsBuildRunner
s methods now return value now contain a success bool instead of throwing (#106). Error messages are streamed to the logger. - Use an
out/
sub directory for building native assets (#98). - Check asset ids on having having a package uri with the owning package (#96).
NativeAssetsBuildRunner
now supports multiple calls (#102).
0.1.0 #
- Initial version.