AlessioDP / libby

A runtime dependency management library for plugins running in Java-based Minecraft server platforms.
MIT License
76 stars 20 forks source link

Added Java 9 Modules support #12

Closed 4drian3d closed 1 year ago

4drian3d commented 1 year ago

Currently if you try to use libby as a dependency in a project that uses Java 9 or higher modules, it will give an error because libby does not declare any module and therefore is in the unnamed module and cannot be used in projects that implement this functionality. In this pull request I add support for this by implementing automatic modules in libby without losing compatibility with older versions of Java (Java 8)