You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Release Build with DexGuard & Product Flavor Not Mapped in the Report #167
I tried to modify the target package to place the mapping from DexGuard, just in case Ruler can't find the mapping file.
This is the code from #87 (comment) task.mappingFile.set(File(project.buildDir, "outputs/dexguard/mapping/bundle/${variant.name}/mapping.txt"))
The default location is outputs/dexguard/mapping/bundle/sit/release/mapping.txt
There's a DexGuard feature to specify the package output, and I change it to:
After carefully reviewing the logs, I found that Ruler puts the report files here: projectname/app/build/reports/ruler/sitRelease/report.html. Therefore, the correct package should be sitRelease.
Upon examining my mapping, it should be: build/outputs/dexguard/mapping/bundle/sitRelease/mapping.txt. After changing the mapping accordingly, it now works.
However, this ticket should probably remain open with a different title. I'll change it to "Release Build with DexGuard & Product Flavor Not Mapped in the Report."
changed the title [-]Release Build with DexGuard not mapped in the report[/-][+]Release Build with DexGuard & Product Flavor Not Mapped in the Report[/+]on Jun 21, 2024
Activity
arifrgilang commentedon Jun 21, 2024
After carefully reviewing the logs, I found that Ruler puts the report files here:
projectname/app/build/reports/ruler/sitRelease/report.html. Therefore, the correct package should besitRelease.Upon examining my mapping, it should be:
build/outputs/dexguard/mapping/bundle/sitRelease/mapping.txt. After changing the mapping accordingly, it now works.However, this ticket should probably remain open with a different title. I'll change it to "Release Build with DexGuard & Product Flavor Not Mapped in the Report."
[-]Release Build with DexGuard not mapped in the report[/-][+]Release Build with DexGuard & Product Flavor Not Mapped in the Report[/+]MrHadiSatrio commentedon Sep 18, 2024
Interesting. I think this behavior is perhaps expected, as Ruler only considers
variant.namewhen registering tasks (in lieu of also looking atvariant.flavorName).