I've tried specifying the mapping file location in the proguard-rules.pro: -printmapping build/outputs/mapping/test/mapping.txt But again, it seems the task appDynamicsUploadProguardMappingTestProd is looking for the mapping files before they are there. I've also tried hooking into the task to add a dependency: // Put the proguard mapping files where appd expects them. task copyProguardMappingFiles(type: Copy) { from "$buildDir/outputs/mapping/testProd" include "*.*" into "$buildDir/outputs/mapping/test" } tasks.matching { it.name == 'appDynamicsUploadProguardMappingTestProd' }.all { Task task -> task.dependsOn 'copyProguardMappingFiles' } Now if I run the task twice in succession, the second run doesn't warn about not finding the mapping files, because it seems to be uploading the files that were copied to the expected location the first time.
... View more