Closed WhatDo closed 4 years ago
The tests are failing so I can't accept this PR. I'll take a look at the bug at some point though.
Yea it was mostly to illustrate what i found the problem to be. I've never developed a gradle plugin before, so i don't really know how to fix it the best way
Closing in favor of #844
A shitty hack i made to make #842 work.
Problem seems to be that
mergeExtensions
always modifies the first entry in the list and returns it, but that means the last call inandroid.onVariants
will become the common extension for all variants when any task is actually run.