Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: Publish native interfaces with full suffix #4573

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

tgodzik
Copy link
Contributor

@tgodzik tgodzik commented Nov 20, 2024

Fixes #4571

crossVersion actually is set differently if you use crossProject so if you disable it you get no suffix in all platforms.

Fixes scalameta#4571

crossVersion actually is set differently if you use `crossProject` so if you disable it you get no suffix in all platforms.
@tgodzik tgodzik requested a review from kitbellew November 20, 2024 17:54
@@ -85,8 +85,6 @@ lazy val interfaces = crossProject(JVMPlatform, NativePlatform)
moduleName := "scalafmt-interfaces",
description :=
"Dependency-free, pure Java public interfaces to integrate with Scalafmt through a build tool or editor plugin.",
crossVersion := CrossVersion.disabled,
autoScalaLibrary := false,
Copy link
Collaborator

Choose a reason for hiding this comment

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

what does this do? not needed for native, then?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So it doesn't add Scala library for Java artifacts, since it will not be needed.

@kitbellew kitbellew merged commit 8b1faed into scalameta:main Nov 20, 2024
21 checks passed
@tgodzik tgodzik deleted the fix-native-publish branch November 20, 2024 19:04
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.

Can't use different version for native CLI
2 participants