Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ivyPaths setting #1124

Closed
eed3si9n opened this issue Apr 18, 2019 · 0 comments · Fixed by coursier/sbt-coursier#67
Closed

ivyPaths setting #1124

eed3si9n opened this issue Apr 18, 2019 · 0 comments · Fixed by coursier/sbt-coursier#67

Comments

@eed3si9n
Copy link
Contributor

steps

I found this during sbt's scripted dependency-management/cache-local.

ivyPaths := { IvyPaths(baseDirectory.value, Some(target.value / ".ivy2")) }

problem

The converted local resolver doesn't resolve out of target.value / ".ivy2".

expectation

The converted local resolver resolves out of target.value / ".ivy2".

notes

https://github.com/coursier/sbt-coursier/blob/v1.1.0-M14/modules/lm-coursier/src/main/scala/coursier/lmcoursier/ResolutionParams.scala#L86-L89

    val ivyHome = sys.props.getOrElse(
      "ivy.home",
      new File(sys.props("user.home")).toURI.getPath + ".ivy2"
    )

As a workaround, I might be able to convert ${ivy.home} manually.

eed3si9n added a commit to eed3si9n/sbt that referenced this issue Apr 18, 2019
eed3si9n added a commit to eed3si9n/sbt that referenced this issue Apr 19, 2019
eed3si9n added a commit to eed3si9n/sbt that referenced this issue Apr 21, 2019
eed3si9n added a commit to eed3si9n/sbt that referenced this issue Apr 21, 2019
eed3si9n added a commit to eed3si9n/sbt that referenced this issue Apr 21, 2019
eed3si9n added a commit to eed3si9n/sbt that referenced this issue Apr 26, 2019
eed3si9n added a commit to eed3si9n/sbt that referenced this issue Apr 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant