square / gifencoder

A pure Java library implementing the GIF89a specification. Suitable for use on Android.
Apache License 2.0
664 stars 75 forks source link

Create a multi-release jar with Java 9 module #12

Closed rendaw closed 5 years ago

rendaw commented 5 years ago

This allows gifencoder to be used as a Java 9 module in Java 9+ projects and maintains Java 7/8 compatibility for non-modular projects.

I know there have been some issues with MR jars in non-Oracle ecosystems like Websphere but I couldn't find any reports of such issues with Android.

JakeWharton commented 5 years ago

Yeah the Android toolchain just ignores the multi-release folders in META-INF.