Skip to content

Make litiengine modular #437

Open
Open
@weisJ

Description

@weisJ

It would be nice to have litiengine be a modular jar:

  • It allows consumers of the library to bundle their game using jpackage
  • Currently the utiLITI executable created by jpackage isn't fully self contained (as it's not a modular jar)
    i.e. on windows the /app directory is also necessary as it contains all dependencies. For fully modular projects
    it's possible to package all dependencies in the resulting jar making it portable.

As the engine is already build using a newer java version (>= Java 9) being compliant with the module system shouldn't be a big problem ... except:

  • jinput isn't modular (this isn't a big problem as it can be used as an automatic module without much headache)
  • Most of the soudlib.* dependencies behave have split packages (i.e. multiple jars contain the same packages or even the same classes). This is really unfortunate as it is a hard blocker for going modular. A possible workaround would be to fork the repository and modify the build process to produce compatible jars.

Any thoughts on this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions