Skip to content

Added Jitpack Support#42

Merged
JaisDK merged 1 commit intoJDKDigital:dev-1.21.1from
MineJitpack:dev-1.21.1-jitpack
Jul 26, 2025
Merged

Added Jitpack Support#42
JaisDK merged 1 commit intoJDKDigital:dev-1.21.1from
MineJitpack:dev-1.21.1-jitpack

Conversation

@Taskeren
Copy link
Copy Markdown
Contributor

@Taskeren Taskeren commented Jul 26, 2025

This PR adds the jitpack support for your excellent work, so that developers want to integrate with productivemetalworks can use jitpack to include it, which can also provide source jars.

But even with this, there's still something not working, because productivelib is also missing, and your repository seems not updated to the latest version that you released. Can you please update it? And I'll open another PR for jitpack in that repo.

For developers who want to include this project, you need to exclude the productivelib somehow, like:

compileOnly("com.github.JDKDigital:productivemetalworks:VERSION") {
    exclude group: "local.libs"
}

@JaisDK
Copy link
Copy Markdown
Contributor

JaisDK commented Jul 26, 2025

is this better than CF maven?

@Taskeren
Copy link
Copy Markdown
Contributor Author

Yes, CF maven cannot provide source jars unless you do upload them along with the releases.
Without source jars, there are many essential features in IDE (IDEA specifically) don't work.

@JaisDK
Copy link
Copy Markdown
Contributor

JaisDK commented Jul 26, 2025

how does Jitpack solve this? I don't make releases on GitHub

@Taskeren
Copy link
Copy Markdown
Contributor Author

Jitpack will run publishToMavenLocal and save the built jars to its internal storage when there is request, which these files are used for distributing.

@JaisDK JaisDK merged commit 3d72782 into JDKDigital:dev-1.21.1 Jul 26, 2025
1 check passed
@Taskeren
Copy link
Copy Markdown
Contributor Author

And except the releasing tags (or git tags), you can also use commit id and branch name (the latest commit of that branch) as the artifact version.

@JaisDK
Copy link
Copy Markdown
Contributor

JaisDK commented Jul 26, 2025

try it out, I updated the lib repo so you can make a pr

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