Issue with multimodule project

I'm trying to publish my project to maven central, but I get this error.
Execution failed for task ':api:publishMavenPublicationToMavenCentralRepository'.
> Failed to publish publication 'maven' to repository 'mavenCentral'
> Invalid publication 'maven': multiple artifacts with the identical extension and classifier ('jar', 'javadoc').
Execution failed for task ':api:publishMavenPublicationToMavenCentralRepository'.
> Failed to publish publication 'maven' to repository 'mavenCentral'
> Invalid publication 'maven': multiple artifacts with the identical extension and classifier ('jar', 'javadoc').
I have been banging my head against the wall trying to solve this problem for half a day now, anyone got an idea what the issue is? Here's one of my build files: https://github.com/Thorinwasher/BlockAnimator/blob/main/api/build.gradle.kts
GitHub
BlockAnimator/api/build.gradle.kts at main · Thorinwasher/BlockAnim...
A library for animating structure generation for paper servers. - Thorinwasher/BlockAnimator
2 Replies
JavaBot
JavaBot4mo ago
This post has been reserved for your question.
Hey @Thorinwasher! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here. 💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
JavaBot
JavaBot4mo ago
Post Closed
This post has been closed by <@270177852157067264> for the following reason:
Found out a solution myself
Want results from more Discord servers?
Add your server