Skip to content

Commit

Permalink
Latest Android SDK/Gradle fixes, by @gsantner #2360
Browse files Browse the repository at this point in the history
FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':app:mapFlavorAtestDebugSourceSetPaths' (type 'MapSourceSetPathsTask').
  - Gradle detected a problem with the following location: '/mnt/store/Dokumente/aaDev/markor/app/src/main/res'.

    Reason: Task ':app:mapFlavorAtestDebugSourceSetPaths' uses this output of task ':copyRepoFiles' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
  • Loading branch information
gsantner committed Jul 27, 2024
1 parent 446d4f9 commit 9f4f6f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ allprojects {
google()
}

tasks.matching { task -> task.name.matches('.*generate.*Resources') }.all {
tasks.matching { task -> task.name.matches('(.*generate.*Resources)|(.*map.*SourceSetPaths)') }.all {
task -> task.dependsOn copyRepoFiles
}

Expand Down

0 comments on commit 9f4f6f5

Please sign in to comment.