pub struct AndroidProjectIr {
pub app_name: Option<String>,
pub version: Option<String>,
pub build_number: Option<u32>,
pub application_id: Option<String>,
pub min_sdk: Option<u32>,
pub target_sdk: Option<u32>,
pub manifest: AndroidManifest,
pub gradle: GradleDsl,
pub extra_files: BTreeMap<PathBuf, FileEntry>,
}Expand description
In-memory representation of the Android host project plugins
mutate. Same shape rationale as IosProjectIr.
Fields§
§app_name: Option<String>Activity label / manifest.application.android:label source.
Seeded from Config.name.
version: Option<String>Gradle versionName source. Seeded from
Config.version (default "0.1.0").
build_number: Option<u32>Gradle versionCode source. Seeded from
Config.build_number (default 1).
application_id: Option<String>Gradle applicationId source. Seeded from
Config.android.application_id, falling back to the
top-level Config.bundle_id.
min_sdk: Option<u32>Gradle minSdk source. Seeded from
Config.android.min_sdk (default 24).
target_sdk: Option<u32>Gradle targetSdk source. Seeded from
Config.android.target_sdk (default 34).
manifest: AndroidManifestStructured AndroidManifest.xml model.
gradle: GradleDslGradle DSL for the app module. Renderer turns this into
app/build.gradle.kts additions.
extra_files: BTreeMap<PathBuf, FileEntry>Arbitrary files to drop into gen/android/. Same role as
IosProjectIr::extra_files.
Trait Implementations§
Source§impl Clone for AndroidProjectIr
impl Clone for AndroidProjectIr
Source§fn clone(&self) -> AndroidProjectIr
fn clone(&self) -> AndroidProjectIr
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more