Updating build.sbt and plugins.sbt for Play 2.2.0 and sbt-idea 1.5.1 #20
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi there !
Play 2.2.0 is out and it's impossible to use AnormCypher 0.4.2 with it because of a version suffix conflict for scala-stm. Basically, it's because of play-json 2.2-SNAPSHOT which transitively depends on scala-stm 2.10.0. The stable version depends on scala-stm 2.10.
I just fixed the build.sbt to use play-json 2.2.0. I also updated sbt-idea to 1.5.1 because i got problems to download the old version (i don't remember, 1.3 or something).
If you are on this pull request because you have the same problem, a way is to remove org.anormcypher, org.scala-stm, and play directories from directory playframework/repository/cache. After that, clone AnormCypher and run "sbt publish-local" on the project. Copy and paste the anormcypher generated jar and ivy files (probably somewhere in your ~/.ivy directory, SBT outputs the exact path) to your Play repository. Update your project and it should be ok.
Thanks in advance :)