SheldonJPlankton/pinned-section-listview — pull request #4 by tadfisher (2014-08-07 04:47:29+00:00)
Title: Pull intellij annotations artifact

Distributing the annotations jar makes it hard/impossible to exclude as a transitive dependency in client builds. This means when there are version conflicts, builds fail with dex errors like the following:

```
com.android.dex.DexException: Multiple dex files define Lorg/intellij/lang/annotations/Identifier;
at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:594)
at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:552)
at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:533)
at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:170)
at com.android.dx.merge.DexMerger.merge(DexMerger.java:188)
at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:439)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:287)
at com.android.dx.command.dexer.Main.run(Main.java:230)
at com.android.dx.command.dexer.Main.main(Main.java:199)
at com.android.dx.command.Main.main(Main.java:103)
```

Pulling the artifact allows clients to exclude this transitive dependency like so:

```
compile(group: 'de.hamm', name: 'pinned-section-listview', version: '2.0.0') {
exclude(group: 'com.intellij', module: 'annotations')
}
```