fat-aar-android icon indicating copy to clipboard operation
fat-aar-android copied to clipboard

Way to exclude classes from the dependency

Open herriojr opened this issue 2 years ago • 0 comments

I've run into an issue where I cannot include one of the classes in the dependency and I need to remove it and replace with a version I have written myself (essentially a Noop).

It would be useful if I could do something like:

dependencies {
    embed("my.upstream.dependency:version") {
        removeClass 'my.upstream.dependency.ClassToRemove'
        removeClasses 'my.upstream.dependency.subpackage.**'
    }
}

herriojr avatar Jun 16 '22 22:06 herriojr