Problems with META-INF EXCLUSION


#1

Hi.

i have an issue building couchbase-lite-1.1.0. The jackson its duplicated, and if implemented this in the build.grandle

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

It exclude another library .jar that I need for other purpose.

Anyone knows how to exclude just the files enough to build an app with couchbase and not other .jars?


#2

Hi @manucervantes,
Could you please share what jar files could cause problem with following configuration in build.gradle?

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

Thanks,