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")
}
}