Skip to content

Support Java Modules #289

Description

@aalmiray

v0.9.10 defines an automatic module name

$ jarviz module descriptor --file compiler-0.9.10.jar 
name: com.github.mustachejava
version: 0.9.10
open: false
automatic: true
requires:
  java.base mandated
contains:
  com.github.mustachejava
  com.github.mustachejava.codes
  com.github.mustachejava.functions
  com.github.mustachejava.reflect
  com.github.mustachejava.reflect.guards
  com.github.mustachejava.resolver
  com.github.mustachejava.util

I'd be great if the library supplied a full Java module descriptor. It's possible to keep bytecode baseline compatible with Java 8 while providing a full module descriptor thanks to ModiTect. This will help modular projects that consume mustache-java, specifically those that create custom Java Runtimes with jlink, as the latter does not support automatic modules but explicit modules. If interested I can send a PR to make it happen.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions