linkedin / linkedin/pygradle

uploadArchive task does not get version from build.gradle

Open
#134 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
603
Forks
142
PR merge metrics
No merged PRs in 30d

Description

First of all thanks for creating this plugin, I really appreciate it.

I am having trouble getting the uploadArchives task to correctly identify the version. The sdist is built correctly with the version specified in the build.gradle file, but the upload always pulls the unspecified version when uploading the sdist package into artifactory.

How does the uploadArchives tasks get the version information?
Am I expected to use the artifactory plugin: "com.jfrog.artifactory" for the upload task?

Thanks for your help.

Contributor guide

No contributing guide indexed for this repository

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 with build.gradle and the uploadArchives task configuration, then check how the task obtains the package version and whether the Artifactory plugin is involved. The issue is resolved when an upload uses the version specified in build.gradle rather than an unspecified version.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.