musketyr/gradle-fatjar-plugin — pull request #3 by ben-manes (2012-07-14 01:12:06+00:00)
Title: Copy files with a preference of the source module's classes and warn only on copying errors

Set Ant copy task properties to appropriate defaults for an assembled fat jar. This matches the default behavior of the Maven assembly plugin.

_force: true, overwrite:true_
Prefer the module's classes when overwriting a file. At runtime, this is equivalent to using the classpath ordering to override classes with an alternative implementation.

_failOnError: false_
Prefer warning when a copying a file fails instead of halting the task. This resolves compatibility on case-insensitive file systems (e.g. Windows) which can cause failures when a file conflicts with a similarly named directory (e.g. LICENSE, license\LICENCE).