Skip to content

Conversation

tgodzik
Copy link
Contributor

@tgodzik tgodzik commented Sep 29, 2022

Previously, mainClass would only be specified for assembly which is not used in publishing. Now we specify mainClass for the Compile scope, which makes it end up in the jar correctly.

I also removed sbt-assembly since we don't seem to be using it at all currently.

Fixes #705

Previously, mainClass would only be specified for assembly which is not used in publishing. Now we specify mainClass for the Compile scope, which makes it end up in the jar correctly.

I also removed sbt-assembly since we don't seem to be using it at all currently.
@tgodzik tgodzik requested review from ckipp01 and keynmol September 29, 2022 08:53
Copy link
Collaborator

@keynmol keynmol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't following much (sorry) but I think it's the right call to explicitly set the main class.

@tgodzik tgodzik merged commit 346498d into scalameta:main Sep 29, 2022
@tgodzik tgodzik deleted the fix-main branch September 29, 2022 09:17
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.

No main class found in mdoc 2.3.5
2 participants