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

JPMS #70

Merged
merged 3 commits into from
Sep 17, 2023
Merged

JPMS #70

merged 3 commits into from
Sep 17, 2023

Conversation

jwharm
Copy link
Owner

@jwharm jwharm commented Sep 17, 2023

With this PR, the code generator will write module-info.java files in all modules. The generator will automatically export the generated package name and all source code packages from src/main/java (if any exist), and will add require transitive statements for all dependencies.

For example, the module-info.java file for Gtk is:

module org.gnome.gtk {
    requires org.jetbrains.annotations;
    requires transitive org.gnome.gdk;
    requires transitive org.gnome.gsk;
    exports org.gnome.gtk;
    exports io.github.jwharm.javagi.gtk.types;
    exports io.github.jwharm.javagi.gtk.annotations;
    exports io.github.jwharm.javagi.gtk.util;
}

@jwharm jwharm merged commit 6bf88e3 into main Sep 17, 2023
@jwharm jwharm deleted the jpms branch November 21, 2023 20:45
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.

1 participant