Skip to content

Commit

Permalink
Merge pull request #10 from cyoyochoo/main
Browse files Browse the repository at this point in the history
support multiple dimensions
  • Loading branch information
nnjun authored Feb 26, 2022
2 parents 0f5c2d8 + 938662b commit e31b4ff
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ public class ObfPlugin implements Plugin<Project> {
def buildType = upperCaseFirst(applicationVariant.buildType.name)
boolean empty = true
for (ReadOnlyProductFlavor flavor : applicationVariant.productFlavors) {
def flavorName = upperCaseFirst(flavor.name)
def flavorName = upperCaseFirst(applicationVariant.flavorName)
addOtherTask(tasks, flavorName, buildType, mappingFile)
empty = false
break
}
if (empty) {
addOtherTask(tasks, "", buildType, mappingFile)
Expand Down

0 comments on commit e31b4ff

Please sign in to comment.