exercism / scala

Exercism exercises in Scala.
https://exercism.org/tracks/scala
MIT License
123 stars 131 forks source link

Can't resovle sbt library for scalaz-core 7.2.6 #621

Closed counter2015 closed 5 years ago

counter2015 commented 5 years ago

In this problem, scala track, side exercise Lens Person :

exercism download --exercise=lens-person --track=scala

In build.sbt

scalaVersion := "2.12.8"

libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.1" % "test"

val monocleVersion = "1.4.0-M2"

libraryDependencies ++= Seq(
  "com.github.julien-truffaut" %%  "monocle-core"  % monocleVersion,
  "com.github.julien-truffaut" %%  "monocle-macro" % monocleVersion)

libraryDependencies += "org.scalaz" %% "scalaz-core" % "7.2.5"

However, maven central repository can't find this vesion package.

https://repo1.maven.org/maven2/org/scalaz/scalaz-core_2.12/

How about change it to another version?

ricemery commented 5 years ago

@counter2015 - I have created a pull request to change the Monocle version to 2.0 and the ScalaZ version to 7.2.28.

I was able to test successfully using these versions and SBT. I was not able to run the tests using IntelliJ. I don't have spare cycles to localize the problem with IntelliJ at this point.

counter2015 commented 5 years ago

@ricemery I have test it on my local IntelliJ environment, it seems to work successfully.

ricemery commented 5 years ago

Thanks @counter2015