Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Rename files to avoid duplicate entries in packaging #13

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alphaho
Copy link

@alphaho alphaho commented Feb 11, 2023

With the current naming of the files, it will run into errors like java.util.zip.ZipException: duplicate entry: shapely.scala during Compile / packageSrc.

This PR is to rename the files to avoid the conflicts.

@alphaho alphaho requested a review from a team as a code owner February 11, 2023 08:45
@alphaho
Copy link
Author

alphaho commented Feb 11, 2023

An alternative solution is to disable the source artifact in build.sbt:
Compile / packageSrc / publishArtifact := false

But I think renaming the files would be a preferable solution, so that it can always publish the source to the artifact repository.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant