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

Request for integration with play plugin #12

Open
Munzey opened this issue May 12, 2017 · 4 comments
Open

Request for integration with play plugin #12

Munzey opened this issue May 12, 2017 · 4 comments
Assignees

Comments

@Munzey
Copy link

Munzey commented May 12, 2017

Hi, thanks for making this plugin!

I have a project using both scala and play plugins. The only way i can get scalafmt task to run is to configure sourceSets like so:

sourceSets {
  main {
    scala {
      srcDirs = ['app']
    }
  }
  test {
    scala {
      srcDirs = ['test']
    }
  }
}

Any way to scrap this so scalafmt plugin knows to look in the src dirs that the play plugin sets?
Cheers

@alenkacz
Copy link
Owner

@Munzey I'll look into this and let you know

@Munzey
Copy link
Author

Munzey commented May 14, 2017

Thanks! Just to add context, I don't mind having to specify source sets for the plugin to know where to look, however it would be great if this was contained to a scalafmt configuration for example, this way I wouldn't have to worry about accidentally calling a java/scala plugin task like 'check' just to see gradle fail because I have no compile dependency on scala (this would pass if I didn't specify source sets which I have to now to get the scalafmt plugin to run)

@Munzey
Copy link
Author

Munzey commented May 30, 2017

@alenkacz any progress on this?

@alenkacz
Copy link
Owner

@Munzey oops, I completely forgot about that :) very sorry! My week is quite busy but I will really take at least a look into it till the end of week

@alenkacz alenkacz self-assigned this May 30, 2017
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

No branches or pull requests

2 participants