forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scala source file should not depend on scalac plugins (pantsbuild#20971)
These are compile-time-only dependencies and should not be packaged with the source file or included in the classpath for the source file. In our repository, this caused a conflict because the semanticdb package internally wraps the fastparse library with a different version than the one we are using. There is no need for semanticdb to be packaged or run within a test of a target; it is a compile-time-only dependency. Moreover, the scalac compile goal handles the scalac plugins on its own and doesn't use that. I ran this on our Scala repository, and it compiled successfully.
- Loading branch information
Showing
3 changed files
with
6 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters