Amine Minyawi
Amine Minyawi

Reputation: 1

More than one file was found with OS independent path 'OSGI-OPT/src/org/kohsuke/args4j/spi/URLOptionHandler.java'

when adding com.google.javascript:closure-compiler:v20171023 and running my Android project i got this error

More than one file was found with OS independent path 'OSGI-OPT/src/org/kohsuke/args4j/spi/URLOptionHandler.java'

Could you please help me to fix this

Upvotes: 0

Views: 45

Answers (1)

Chad Killingsworth
Chad Killingsworth

Reputation: 14411

Try using the unshaded version. It does not include the dependencies: https://search.maven.org/#search%7Cga%7C1%7Ca%3A"closure-compiler-unshaded"

Upvotes: 1

Related Questions