scala-time icon indicating copy to clipboard operation
scala-time copied to clipboard

Scala 2.10

Open adam00s opened this issue 12 years ago • 5 comments

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

adam00s avatar Jan 21 '13 20:01 adam00s

+1 (where's issue voting :P)

kordzik avatar Jan 24 '13 07:01 kordzik

+1

zeljkot avatar Mar 06 '13 09:03 zeljkot

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

holograph avatar Mar 06 '13 16:03 holograph

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 avatar Apr 10 '14 21:04 skestle

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

skestle avatar Apr 22 '14 18:04 skestle