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

Add support for publishing artifacts #125

Closed
tudortimi opened this issue Sep 20, 2023 · 3 comments
Closed

Add support for publishing artifacts #125

tudortimi opened this issue Sep 20, 2023 · 3 comments

Comments

@tudortimi
Copy link
Owner

tudortimi commented Sep 20, 2023

Gradle source dependencies are not a feature that is in focus. Many aspects lag behind "regular" dependencies (e.g. gradle/gradle#26392, gradle/gradle#25312, version info is wonky when calling dependencyInsight, etc.).

We could emulate "regular" dependencies by publishing archives containing the source files, together with some metadata (e.g. what to compile, in what order, what options, etc.).

@tudortimi
Copy link
Owner Author

tudortimi commented May 9, 2024

Plan:

@tudortimi
Copy link
Owner Author

Currently, we're producing an XML for the compile spec. The idea behind the XML was that it's possible to write using code from the standard library. With newer Java libraries, this isn't the case anymore. We might as well produce a JSON file (like Gradle also does for its rich metadata) using Jackson. The JSON file would also be much easier to read. The Jackson code for handling it might also be easier than the JAXB code.

@tudortimi
Copy link
Owner Author

tudortimi commented Jun 4, 2024

Switched to JSON for compile specs (#149).

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

No branches or pull requests

1 participant