Home Features Docs Blog Support GitHub

moeMainProGuard task. excludes


In my project I a have problem with duplicate entries (MANIFEST.MF) in jar files, which contribute to my project. I tryied to exclude duplicates using:

compile(project(‘someproject’)) {
exclude group: ‘some.group’
but it is not working.

In an Android project I exclude duplicates with packagingOptions, and it is working. Has MOE proguard task something like android packageOptions?

The project is a rather big enterprise application. It is a huge dissappointent that development using MOE can be blocked by such trivial problems.

(Gergely Kis - Migeran) #2

Hi Andrey,

The problem you describe is likely related to the resource packaging and not ProGuard.

Please refer to this section of the Gradle plugin docs:

If the problem persists please share a minimal test project with us, so we can take a look.

Best Regards,


Thank you for answer.
I reconfigured a project and proguard task succeeded executing, but warnings still remain.