mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-06-19 14:41:11 +00:00
fix(build): declare resource-task deps for google-services bind task
bindDevelopGithubGoogleServicesToRelease writes into src/develop, which generate/mergeDevelopResources read — Gradle 8.9 fails on the implicit dependency. Add generate/mergeResources to the bind task's dependents (null-safe via findByName).
This commit is contained in:
+7
-2
@@ -162,11 +162,16 @@ void createBindReleaseFileTask(String destination) {
|
||||
"merge${capitalizedDestination}JniLibFolders".toString(),
|
||||
"merge${capitalizedDestination}StartupProfile".toString(),
|
||||
"merge${capitalizedDestination}Shaders".toString(),
|
||||
"merge${capitalizedDestination}ArtProfile".toString()
|
||||
"merge${capitalizedDestination}ArtProfile".toString(),
|
||||
// The bind task writes into src/<dest>, which resource tasks read —
|
||||
// declare the dependency so Gradle 8.9 doesn't fail on implicit ordering.
|
||||
"generate${capitalizedDestination}Resources".toString(),
|
||||
"merge${capitalizedDestination}Resources".toString()
|
||||
]
|
||||
|
||||
dependentTasks.forEach {
|
||||
tasks.getByName(it).dependsOn(task)
|
||||
def t = tasks.findByName(it)
|
||||
if (t != null) t.dependsOn(task)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user