local_build library

Extensible local Flutter build and release orchestration.

Classes

AppConfig
Configuration for one Flutter application in a workspace.
AppStoreBuildNumberSource
Reads existing iOS build numbers from App Store Connect.
BuildArtifact
Output produced by a successful or simulated build job.
BuildJob
One application-and-platform unit of work.
BuildNumberResolver
Assigns build numbers to plans according to configuration.
BuildNumberSource
Looks up the highest build number already used by an app store.
BuildPlan
Ordered collection of build jobs to execute.
BuildRequest
User-selected options shared by the jobs in a build plan.
LocalBuildConfig
The validated contents of a Flutter Local Build YAML configuration file.
Notifier
Reports build success or failure to a notification channel.
PlayBuildNumberSource
Reads existing Android version codes from Google Play Console.
ProfileConfig
Flutter and Shorebird arguments associated with a named profile.
Publisher
Publishes successful build artifacts to an external destination.

Enums

AndroidArtifactFormat
Android artifact format produced by a build.
BuildAction
Operation performed for each selected application and platform.
PlatformKind
Mobile platform targeted by a build job.

Functions

createAppStoreToken(Map<String, Object?> config, Map<String, String> environment) String
Creates a short-lived ES256 App Store Connect API token.
runLocalBuild(List<String> arguments) Future<void>
Runs the Local Build command-line application with arguments.

Typedefs

AppStoreTokenFactory = String Function(Map<String, Object?> config, Map<String, String> environment)
Creates an App Store Connect JWT from configuration and environment data.