Skip to content

fix: include Kotlin sources into the sources jar #1210

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

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

monosoul
Copy link
Contributor

@monosoul monosoul commented Oct 2, 2023

Configures sourcesJar task for Kotlin projects to actually include Kotlin sources, otherwise jar files are empty.

See mongodb-driver-kotlin-sync-4.10.2-sources.jar for example.

Also see this for context: https://youtrack.jetbrains.com/issue/KT-54207

@monosoul monosoul force-pushed the fix/source-jar-generation branch from c048c5b to 6e09925 Compare October 2, 2023 08:40
@monosoul monosoul force-pushed the fix/source-jar-generation branch from 6e09925 to 434e6ec Compare October 2, 2023 08:46
@monosoul
Copy link
Contributor Author

monosoul commented Oct 2, 2023

Without a proper sources.jar it's kinda hard to use the new driver now, since this is what you'll see in IntelliJ:

image

@rozza rozza merged commit 0346677 into mongodb:master Oct 3, 2023
@rozza
Copy link
Member

rozza commented Oct 3, 2023

Many thanks @monosoul :)

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