How can I exclude resources for Android in Amper a...
# amper
s
How can I exclude resources for Android in Amper as shown below? I attempted this in
build.gradle.kts
, but it did not work.
Copy code
android {
    packagingOptions {
        resources {
            excludes += "/META-INF/{AL2.0,LGPL2.1}"
            excludes += "META-INF/NOTICE.md"
            excludes += "META-INF/LICENSE.md"
        }
    }
}
a
All the packaging configuration, including resources exclusion are done via Gradle atm. This could be some issue with Gradle configuration. What Gradle version do you use? Please make sure that configuration used is not deprecated: https://stackoverflow.com/a/75718985/2000323
a
@Sabeeh are you able to share your project?