Skip to content

android/packagingOptions tag in package.json #251

@mehfuzh

Description

@mehfuzh

Certain third-party libraries require you to exclude duplicate META-INF files using packagingOptoins tag in build.gradle. Right now the only option is to manually modify the generated build.gradle file.

There should be a way to specify them using package.json for a plugin so that when project is being prepared it copies them inside build.gradle file.

packagingOptions {
        exclude 'META-INF/ASL2.0'
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/NOTICE'
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions