Closed irgaly closed 2 years ago
one liner is executes :lintDebug task and :removeUnusedResources task in parallel. so result xml file is not found while removeUnusedResources task running.
removeUnusedResources task should have mustRunAfter to lint{variant} task.
lint{variant}
% ./gradlew :app:lintDebug :app:removeUnusedResources -Prur.lintOptionsOnlyUnusedResources -Prur.lintVariant="debug"
one liner is executes :lintDebug task and :removeUnusedResources task in parallel. so result xml file is not found while removeUnusedResources task running.
removeUnusedResources task should have mustRunAfter to
lint{variant}
task.