Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from javax to jakarta #3

Merged
merged 1 commit into from
Sep 22, 2022
Merged

Migrate from javax to jakarta #3

merged 1 commit into from
Sep 22, 2022

Conversation

Siedlerchr
Copy link
Member

@Siedlerchr Siedlerchr commented Sep 21, 2022

Local build works. JabRef works as well. I dont care about the demo app and the tests

}
javafx {
version = "19"
modules = [ 'javafx.controls', 'javafx.fxml', 'javafx.web', 'javafx.swing' ]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this now work in the modularized world? Does this adds these modules twice now, once as dependency of afterburner and once as dep of the main application? Are they combined?

In either case, the web and swing modules shouldn't be needed, or are they?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The project afterburner itself is not modularized, I used the shadow jar plugin. It generates two files:
One with all deps inside and one minimal shadow jar that only contains the classes itself. I used the latter to include it in jabref.

Main reason for this to avoid name clashes with the java ee stuff for the rest api
koppor/jabref#628

@tobiasdiez tobiasdiez changed the title Update to jakarta Migrate from javax to jakarta Sep 22, 2022
@tobiasdiez tobiasdiez merged commit dc7b657 into master Sep 22, 2022
@tobiasdiez tobiasdiez deleted the updateJakarta branch September 22, 2022 08:39
Siedlerchr added a commit that referenced this pull request Sep 22, 2022
* origin/master:
  Migrate from javax to jakarta (#3)

# Conflicts:
#	build.gradle
#	src/main/java/com/airhacks/afterburner/injection/Injector.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants