Improve Gson development experience #2849
Marcono1234
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
📢 Feel free to comment your experience (good or bad) below, and share tips and tricks.
Gson's build setup has some special configurations:
src/main/java
containsmodule-info.java
, but it is excluded for compilation and processed by Moditect(but it is intentionally not excluded for the Javadoc plugin)
This is done because Gson currently still targets Java 8.
OSGiManifestIT
relies on created Gson JARIt seems IDEs (Eclipse, IntelliJ, ...) do not handle all of these special configurations well. For example:
javac
assertion errors for test execution, apparently due to the specialmodule-info.java
handling(maybe something is broken with my setup)
Most likely new contributors experience similar issues, and for them it will be more difficult (and discouraging) because they are not familiar with the project yet.
So it would probably be good to investigate and get feedback which issues users encounter while setting up the Gson development environment, and then check if we can improve the project setup (ideally without losing functionality), e.g.:
Beta Was this translation helpful? Give feedback.
All reactions