Skip to content

[codex] Fix Vanniktech sources jar publishing config#488

Merged
ansman merged 1 commit into
mainfrom
codex/fix-vanniktech-sources-jar
Jun 12, 2026
Merged

[codex] Fix Vanniktech sources jar publishing config#488
ansman merged 1 commit into
mainfrom
codex/fix-vanniktech-sources-jar

Conversation

@ansman

@ansman ansman commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Summary

Updates the JVM publishing convention to use Vanniktech's SourcesJar.Sources() option instead of the deprecated boolean sourcesJar = true constructor argument.

Why

Gradle emitted a deprecation warning from library.publishing.gradle.kts because KotlinJvm(javadocJar, sourcesJar: Boolean) has been deprecated in favor of the overload that accepts a SourcesJar value.

Validation

  • ./gradlew help --warning-mode=all

@ansman ansman marked this pull request as ready for review June 12, 2026 11:27
@ansman ansman merged commit 2a3b982 into main Jun 12, 2026
2 checks passed
@ansman ansman deleted the codex/fix-vanniktech-sources-jar branch June 12, 2026 11:28
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