crossbundle 0.2.3

Build and publish apps for Android/iOS
Documentation
use crossbundle_tools::{
    commands::android::*,
    types::{android_manifest::AndroidManifest, AndroidTarget, AppWrapper},
};
use serde::{Deserialize, Serialize};
use std::path::PathBuf;

/// Full Android configuration.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
pub struct AndroidConfig {
    /// Specifies what application wrapper to use on build.
    #[serde(default)]
    pub app_wrapper: AppWrapper,
    /// AndroidManifest.xml configuration.
    pub manifest: Option<AndroidManifest>,
    /// Path to AndroidManifest.xml file.
    ///
    /// **Important:** If this field specified - `manifest` property will be ignored.
    pub manifest_path: Option<PathBuf>,
    /// Android resources directory path relatively to project path.
    ///
    /// If specified more than one - all resources will be placed into one directory.
    #[serde(default)]
    pub resources: Vec<PathBuf>,
    /// Custom Android assets directory path relatively to project path.
    ///
    /// If specified more than one - all assets will be placed into one directory.
    ///
    /// **Important:** This property has higher priority than global property.
    #[serde(default)]
    pub assets: Vec<PathBuf>,
    /// Android debug build targets.
    #[serde(default)]
    pub debug_build_targets: Vec<AndroidTarget>,
    /// Android release build targets.
    #[serde(default)]
    pub release_build_targets: Vec<AndroidTarget>,
    /// Crossbow Android Plugins.
    #[serde(flatten)]
    pub plugins: AndroidGradlePlugins,
}