samskivert / jmustache

A Java implementation of the Mustache templating language.
Other
834 stars 128 forks source link

Remove module-info file? #115

Closed andob closed 4 years ago

andob commented 4 years ago

Hello,

Could you please remove the module-info.java file and create a new release without it? Because I cannot use this library with MultiOS Engine.

I think MultiOS engine uses an old version of Proguard, but I cannot change it since it is a part of their gradle plugin. When building the app with Android SDK's version of proguard, it works fine. When building the app with MultiOSEngine and its version of proguard, I get this error:

java.io.IOException: Can't read [~/.gradle/caches/modules-2/files-2.1/
com.samskivert/jmustache/1.15/7b3b15951d13b774c76db2f4e14d97
7952f8b4d8/jmustache-1.15.jar(;;;;;;!**.framework/**,!**.bundle/**)] (
Can't process class [module-info.class] (Unsupported class version 
number [53.0] (maximum 52.0, Java 1.8)))
Caused by: java.io.IOException: Can't process class [module-info.class] 
(Unsupported class version number [53.0] (maximum 52.0, Java 1.8))

module-info.java is a Java 9 feature. On Android SDK and MultiOSEngine we have max Java 8.

The jmustache library by itself is compatible with Java 8, since if I copy all the java files (except the module-info file) to my project, it works fine.