find dex task when shrinking resources#722
find dex task when shrinking resources#722bruno-garcia merged 1 commit intogetsentry:masterfrom codeniko:shrinkRes
Conversation
|
This was added via #684 and later rolled back with #687
|
|
@bruno-garcia Nowhere in either of those PRs can you find the task that I'm adding This is what I have for my builds to generate and correctly package the sentry asset file into my apk def proguardTask = project.tasks.findByName("transformClassesAndResourcesWithR8ForRelease")
def dexTask = project.tasks.findByName("transformClassesAndDexWithShrinkResForRelease")I use R8, minification, and resource shrinking |
|
@codeniko You're right. I had the task names wrong. |
I have an android project where my release builds also shrink unused resources using
shinkResources true. Sentry isn't able to find my dex task since it becomestransformClassesAndDexWithShrinkResForRelease.