Rename modules #343
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
java
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
java-gi/java-gi!343
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "rename-modules"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR renames the (JPMS) modules to use the
org.javagiprefix instead oforg.gnome,org.freedesktopetc. This change should not break too much existing code, because many apps don't have amodule-info.java. For those that do, it's a very small change. The package names are not changed, only the module names.The reason for renaming the modules is to improve consistency with the names of the artifacts on Maven Central, where we use the
org.java-gigroup. It is a bit illogical that theorg.java-gi:gtkartifact on Maven Central is namedorg.gnome.gtkinmodule-info.java.This PR also bumps the version of the
cairo-java-bindingsdependency from 1.18.4.2 to 1.18.4.3. This is necessary because it's a "circular dependency": The cairo bindings useorg.java-gi:glib, whileorg.java-gi:gtkdepends on the cairo bindings. So we have to update themodule-info.javain the cairo bindings together with the changes in Java-GI, or else the gtk module use an older cairo bindings version that refers to the old glib module name.