bevy/examples/android/Cargo.toml
François 056272413f Move Android example to its own package (#6759)
# Objective

- Fix CI issue with updated `cargo-app`

## Solution

- Move the Android example to its own package. It's not necessary for the CI fix, but it's cleaner, mimic the iOS example, and easier to reuse for someone wanting to setup android support in their project
- Build the package in CI instead of the example


The Android example is still working on my android device with this change 👍
2022-11-25 23:02:56 +00:00

29 lines
656 B
TOML

[package]
name = "bevy-android-example"
version = "0.1.0"
edition = "2021"
description = "Example for building an Android app with Bevy"
publish = false
license = "MIT OR Apache-2.0"
[lib]
name = "bevy_android_example"
crate-type = ["cdylib"]
[dependencies]
bevy = { path = "../../" }
[package.metadata.android]
package = "org.bevyengine.example"
apk_name = "bevyexample"
assets = "../../assets"
resources = "../../assets/android-res"
build_targets = ["aarch64-linux-android", "armv7-linux-androideabi"]
[package.metadata.android.sdk]
target_sdk_version = 31
[package.metadata.android.application]
icon = "@mipmap/ic_launcher"
label = "Bevy Example"