Skip to content

Android use out-of-date .so files #166

Description

@wiiznokes

mergeDebugJniLibFolders and mergeReleaseJniLibFolders will be treated as up to date, even when the .so files change in "$buildDir/rustJniLibs/android".

Chat GPT say it can be fixed if we add this path as input of the task.

workarround:

tasks.whenTaskAdded {
    if (name == "mergeDebugJniLibFolders" || name == "mergeReleaseJniLibFolders") {
        outputs.upToDateWhen { false }
        dependsOn("cargoBuild")
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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