Skip to content

Change sources JAR layout #447

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

Open
the-former-programmer opened this issue Apr 21, 2025 · 1 comment
Open

Change sources JAR layout #447

the-former-programmer opened this issue Apr 21, 2025 · 1 comment

Comments

@the-former-programmer
Copy link

The current java sources layout looks like this:
root
-META-INF
-main
--com
---openai

But the layout needs to look like
root
-META-INF
-com
--openai

This is to support the automatic attachment of sources within IDEs like Eclipse.

@TomerAberbach TomerAberbach changed the title Maven Central Sources Jar Layout Change sources JAR layout Apr 28, 2025
@TomerAberbach
Copy link
Collaborator

We use vanniktech/gradle-maven-publish-plugin, and apparently this has come up before: vanniktech/gradle-maven-publish-plugin#674

It appears that the default kotlinSourcesJar task does this, while plain sourcesJar doesn't.

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

2 participants