b-studios / scala-effekt

Extensible algebraic effects with handlers

Home Page:http://b-studios.de/scala-effekt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not able to pull for scala 2.13

Sitiritis opened this issue · comments

I modified my build.sbt according to the instruction and it looks like there is no library distribution for scala 2.13 in the repository.

sbt output
[error] (core / ssExtractDependencies) sbt.librarymanagement.ResolveException: Error downloading de.b-studios:effekt_2.13:0.4-SNAPSHOT
[error]   Not found
[error]   Not found
[error]   not found: /Users/sitiritis/.ivy2/localde.b-studios/effekt_2.13/0.4-SNAPSHOT/ivys/ivy.xml
[error]   not found: https://repo1.maven.org/maven2/de/b-studios/effekt_2.13/0.4-SNAPSHOT/effekt_2.13-0.4-SNAPSHOT.pom
[error]   not found: https://oss.sonatype.org/content/repositories/snapshots/de/b-studios/effekt_2.13/0.4-SNAPSHOT/effekt_2.13-0.4-SNAPSHOT.pom

Is there a way to fix this? I would be happy to get some help 🙏

Temporary workaround until this gets resolved:

  • Fork the project and adjust the scalaVersion to 2.13 in the build.sbt file
    e.g., as seen here mucaho@5f75ecc
  • Make your project dependOn the forked git repo in your project's build.sbt file:
    // build.sbt
    
    // import the core
    dependsOn(ProjectRef(uri("https://github.com/mucaho/scala-effekt.git"), "effektJVM"))
    // optionally, import some built-in effects (State)
    dependsOn(ProjectRef(uri("https://github.com/mucaho/scala-effekt.git"), "effectsJVM"))