Skip to content

Commit

Permalink
[native_assets_cli] Clarify meaning of targetAndroidNdkApi in docs (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
blaugold authored Oct 5, 2023
1 parent 7aaa025 commit fd21f5b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/native_assets_cli/lib/src/model/build_config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,16 @@ class BuildConfig {

late final IOSSdk? _targetIOSSdk;

/// When compiling for Android, the API version to target.
/// When compiling for Android, the minimum Android SDK API version to that
/// the compiled code will be compatible with.
///
/// Required when [targetOs] equals [OS.android].
///
/// Not available in [dryRun].
///
/// For more information about the Android API version, refer to
/// [`minSdkVersion`](https://developer.android.com/ndk/guides/sdk-versions#minsdkversion)
/// in the Android documentation.
int? get targetAndroidNdkApi {
_ensureNotDryRun();
return _targetAndroidNdkApi;
Expand Down

0 comments on commit fd21f5b

Please sign in to comment.