I'm struggling abit with various dependencies a single java lib requires, 
added from a 3rd party maven repo.

For various classes - I get alot of;
Note: duplicate definition of program class 
[com.google.common.annotations.Beta]
Note: duplicate definition of program class 
[com.google.common.annotations.GwtCompatible]

First I tried apkbuildExcludes in Android, for files like 
META-INF/DEPENDENCIES

I've tried exclude() in my libraryDependencies to filter out the libs that 
aren't required

if I add;
conflictManager := ConflictManager.strict

On android:package-release, I immediately get;

[info] Resolving org.codehaus.plexus#plexus-compiler-api;2.2 ...
[error] org.codehaus.plexus#plexus-utils;3.0.8 (needed by 
[org.codehaus.plexus#plexus-compiler-api;2.2]) conflicts with 
org.codehaus.plexus#plexus-utils;2.0.6 (needed by [])
[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) org.apache.ivy.plugins.conflict.StrictConflictException: 
org.codehaus.plexus#plexus-utils;3.0.8 (needed by 
[org.codehaus.plexus#plexus-compiler-api;2.2]) conflicts with 
org.codehaus.plexus#plexus-utils;2.0.6 (needed by [])

I saw sbt-assembly plugin and was wondering if I could use a MergeStrategy 
here, somehow?

Any ideas how I can resolve this?

-- 
You received this message because you are subscribed to the Google Groups 
"scala-on-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to