jorgeortiz85 / scala-time

A Scala wrapper for Joda Time
Apache License 2.0
264 stars 64 forks source link

Scala 2.10 #27

Open adam00s opened 11 years ago

adam00s commented 11 years ago

Final Scala 2.10 was published a while ago, it could be nice to have scala-time compiled for it on maven repositories.

kordzik commented 11 years ago

+1 (where's issue voting :P)

zeljkot commented 11 years ago

+1

holograph commented 11 years ago

scala-time appears to be abandoned, and has been forked into an actively-maintained project called nscala-time; see the GitHub repository: https://github.com/nscala-time/nscala-time

skestle commented 10 years ago

So it seems that this works, but not as specified on the packet.

Instead of "libraryDependencies += "org.scalaj" %% "scalaj-time" % "0.7"" you need to use "libraryDependencies += "org.scalaj" % "scalaj-time_2.10.2" % "0.7""

Since scala-time seems to deploy with full scala versions that sbt 0.13 doesn't seem to do - see http://stackoverflow.com/questions/22975763/sbt-disagreeing-with-library-about-scala-version

Also, it's a shame about the nscala-time "fork", since it's not a fork: https://github.com/nscala-time/nscala-time/issues/56 I would love to see it on the network graph along with the rest of the community.

Once the publishing is fixed up, this can be closed.

skestle commented 10 years ago

It seems that this changed in scala 2.10. See http://www.scala-sbt.org/release/docs/Detailed-Topics/Cross-Build for details.

The better way of resolving the dependency until this is fixed is

libraryDependencies += "org.scalaj" % "scalaj-time" % "0.7" cross Crossversion.full