dgs-framework icon indicating copy to clipboard operation
dgs-framework copied to clipboard

feature: support JPMS

Open xenoterracide opened this issue 3 years ago • 3 comments

Please read our contributor guide before creating an issue. Also consider discussing your idea on the discussion forum first.

Describe the Feature Request

I'd like to be able to import dgs into an app using java modules. I searched the repo for a module-info.java or an Automatic-Module-Name Given the absence of the former it makes sense to do the latter.

Describe Preferred Solution

You can add an Automatic-Module-Name to the manifest https://stackoverflow.com/a/46742802/206466 this is not backwards incompatible. A module-info would be nice, but it will force people to java 9+

Describe Alternatives

Without any support applications have to remove there's You simply can't import a module that doesn't have one of these if you're using it.

xenoterracide avatar Aug 18 '22 21:08 xenoterracide

I agree, let's start with adding a module name, so that at least it becomes usable.

Once we baseline on Spring Boot 3.0, which requires Java 17, it makes sense to add module-info as well. There isn't a concrete plan for that yet, but will likely be early 2023 (since Spring Boot 3 will be release end of this year).

paulbakker avatar Aug 18 '22 22:08 paulbakker

btw, any chance what's the potential itinerary on Automatic-Module-Name?

xenoterracide avatar Aug 19 '22 23:08 xenoterracide

2 year bump... ?

xenoterracide avatar Jun 08 '24 17:06 xenoterracide