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

Need Scala 2.11 build of common-utils #22

Closed
andreysaksonov opened this issue Jul 22, 2014 · 3 comments
Closed

Need Scala 2.11 build of common-utils #22

andreysaksonov opened this issue Jul 22, 2014 · 3 comments

Comments

@andreysaksonov
Copy link

Hi! For swagger-play2-utils project we need 2.11 build of com.wordnik#common-utils, otherwise 2.11 build of swagger-play2-utils if blocked

@fehguy
Copy link
Contributor

fehguy commented Jul 22, 2014

@casualjim can you help with the plugin for this project? After upgrading to sbt 0.13.2, and the plugins.sbt:

addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.6.0")

addSbtPlugin("com.github.gseitz" % "sbt-release" % "0.8.3")

There is a build issue:

[error] /Users/tony/dev/projects/wordnik/wordnik-oss/project/Assembly.scala:24: type mismatch;
[error]  found   : String("*")
[error]  required: sbt.FileFilter
[error] Note that implicit conversions are not applicable because they are ambiguous:
[error]  both method globFilter in trait BuildCommon of type (expression: String)sbt.NameFilter
[error]  and method globFilter in object FileFilter of type (s: String)sbt.NameFilter
[error]  are possible conversion functions from String("*") to sbt.FileFilter
[error]       val jars = libs.descendantsExcept("*", excl) x flat(tgt / "lib")
[error]                                         ^
[error] /Users/tony/dev/projects/wordnik/wordnik-oss/project/Assembly.scala:26: type mismatch;
[error]  found   : String("*")
[error]  required: sbt.FileFilter
[error] Note that implicit conversions are not applicable because they are ambiguous:
[error]  both method globFilter in trait BuildCommon of type (expression: String)sbt.NameFilter
[error]  and method globFilter in object FileFilter of type (s: String)sbt.NameFilter
[error]  are possible conversion functions from String("*") to sbt.FileFilter
[error]         val files = dir.descendantsExcept("*", excl)

@casualjim
Copy link
Contributor

I've updated the build in scala-2.11
https://github.com/wordnik/wordnik-oss/tree/scala-2.11

@fehguy
Copy link
Contributor

fehguy commented Jul 22, 2014

thanks @casualjim

I've just pushed 1.3.0-SNAPSHOT to sonatype.

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

3 participants