Skip to content

Conversation

@DougGregor
Copy link
Member

@DougGregor DougGregor commented Oct 14, 2024

Add a SwiftPM build tool plugin that compiles all of the Java source files that are part of a given SwiftPM target into class files. Use this within the JavaKit example so we can build everything through SwiftPM, splitting the JavaKit example out into its own package in a subdirectory along the way.

Makefile Outdated
@echo " javakit-generate: Regenerate the Swift wrapper code for the various JavaKit libraries from Java. This only has to be done when changing the Java2Swift tool."
@echo " jextract-run: Run the Java example code that uses the wrapped Swift library. NOTE: this requires development toolchain described in the README."
@echo " jextract-generate: Generate Java wrapper code for the example Swift library allowing Swift to be called from Java. NOTE: this requires development toolchain described in the README."
@echo " jextract-generate: Generate Java wrapper code for the example Swift library allowing Swift to be called from Java. NOTE: this requires development toolchain described ein the README."
Copy link
Collaborator

Choose a reason for hiding this comment

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

Typo

Add a SwiftPM build tool plugin that compiles all of the Java source files
that are part of a given SwiftPM target into class files. Use this within
the JavaKit example so we can build everything through SwiftPM.
Depend only on SwiftPM for this sample app
@DougGregor DougGregor force-pushed the swiftpm-java-compile branch from 73d9e80 to 4eb6cc8 Compare October 15, 2024 00:09
@DougGregor DougGregor merged commit 37efa0b into swiftlang:main Oct 15, 2024
10 of 11 checks passed
@DougGregor DougGregor deleted the swiftpm-java-compile branch October 15, 2024 00: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.

2 participants