mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 14:40:19 +00:00
056272413f
# 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 👍
29 lines
656 B
TOML
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"
|
|
|