Skip to content

metadata changes trigger files in gen folder to be rebuilt #452

@uglyoldbob

Description

@uglyoldbob

I'm looking for a feature (maybe it already exists) that rebuilds the gen folder when changes are detected in the app metadata.

For example, here is a snippet of Cargo.toml:

[package.metadata.cargo-android]
app-dependencies = [
    "com.google.android.material:material:1.8.0",
]
project-dependencies = [ "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21" ]
app-plugins = [ "org.jetbrains.kotlin.android" ]
app-theme-parent = "Theme.MaterialComponents.DayNight.DarkActionBar"
app-permissions = [ "android.permission.BLUETOOTH" ]

I want to be able to modify app-permissions and see the changes reflected in the generated AndroidManifest.xml file at gen/android/app/src/main/AndroidManifest.xml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions