rosjava / android_core

Android libraries for rosjava
146 stars 166 forks source link

Upgrading packaging options #200

Open stonier opened 10 years ago

stonier commented 10 years ago

A useful heads up from @ollide.

If you start upgrading you might encounter some duplicated license files build errors (which were discussed in several issues here). Gradle Android plugin 0.9.1 brings a new solution to this: It's now possible to include a file when there's a conflict during packaging:

android.packagingOptions {
    pickFirst 'META-INF/foo.txt'
}

I think this is much better than simply excluding them.

damonkohler commented 10 years ago

I'm not convinced it's better or worse than excluding them. Excluding them actually makes sense since the JAR is essentially a binary and you're typically removing license text files.