Hello! i want to use the below gradle configuratio...
# amper
s
Hello! i want to use the below gradle configuration with standalone. Is it possible?
Copy code
packaging {
    resources {
        excludes.add("/META-INF/*")
    }
}
Thank you!
j
Hi! I don't believe we have an equivalent in standalone Amper at the moment. This is not a built-in Gradle construct, right? Is this part of the
android { }
extension?
1
Could you please explain why you need to do this? I'm trying to get a better understanding of the use case
s
i am trying to use a java library and i get the below error: Caused by: com.android.builder.merge.DuplicateRelativeFileException: 2 files found with path 'META-INF/NOTICE.md' from inputs: - jakarta.mail-api-2.1.3.jar/jakarta.mail-api-2.1.3.jar - jakarta.activation-api-2.1.3.jar/jakarta.activation-api-2.1.3.jar
thinking 1
🙏 1
One solution i can think its to create a wrapper android library to exclude those files.
👀 1
a
I'm addressing the issue Thanks for reporting, gonna try to come up with something by the next release
s
Is there any option to configure room with amper? Room plugin as well! Found it! :)
1
🆒 2