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

Spotless doesn't work with scalafmt 2.0.0 #415

Closed
nsutcliffe opened this issue Jul 8, 2019 · 2 comments
Closed

Spotless doesn't work with scalafmt 2.0.0 #415

nsutcliffe opened this issue Jul 8, 2019 · 2 comments
Labels

Comments

@nsutcliffe
Copy link
Contributor

I am using Spotless version 3.23.1 with gradle.

I am using Spotless with Scalafmt, however if I try to specify version 2.0.0 (only released 8 days ago :-) ), this doesn't work as it looks like scalafmt has changed their package structure (no longer released under com.geirsson, but under org.scalameta. Spotless is till looking for it under com.giersson. Specific error below for reference:

Execution failed for task ':scoring-framework-model:spotlessScala'.
> Could not resolve all files for configuration ':detachedConfiguration2'.
   > Could not resolve com.geirsson:scalafmt-core_2.11:2.0.0.
     Required by:
         project :
      > Could not resolve com.geirsson:scalafmt-core_2.11:2.0.0.
         > Could not get resource
@nedtwigg nedtwigg added the bug label Jul 8, 2019
@nedtwigg
Copy link
Member

Solved by #416, available in -SNAPSHOT

@nedtwigg
Copy link
Member

Released in x.24.0

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

No branches or pull requests

2 participants