temporalio / temporalio/sdk-java

Published artifacts do not include sources for the generated code

Open
#317 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
433
Forks
249
Avg merge
5d 6h
Merged PRs (30d)
26

Description

Expected Behavior

Published artifacts should include sources and javadoc.

Actual Behavior

Only compiled class artifacts are published.

Steps to Reproduce the Problem

  1. Use java SDK as dependency in any project.

Specifications

  • Version: 1.0.4

Notes

I see that the Gradle project is using withJavadocJar() and withSourcesJar(), and a sufficient Gradle version for these to work, however no sources or javadoc are included anyway. I was going to open a PR to do this the pre-6.x way, but wanted to verify with you folks first in case you see a more correct fix.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the Gradle publication configuration for the Java SDK and verify how withJavadocJar() and withSourcesJar() are applied. Reproduce the issue by consuming version 1.0.4 as a dependency and inspect the published artifacts. Done means the publication contains the generated sources and javadoc alongside the compiled classes.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.