-
Notifications
You must be signed in to change notification settings - Fork 932
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
^compile does not resolve internal dependsOn
project dependency
#3392
Comments
Strange. This should've been solved in #3356. |
Oh! Cos #3356 only changes |
No it's not that. Even the setting of scalaVersion in I refer to my notes here about how existing functionality ( |
So is the current functionality the desired functionality for sbt? |
Not in my book - given that there's a possible manual translation to make that legitimate build work for sbt 1, If your question is because you're stuck, then there are ways to avoid the problem. I haven't hit this particular bug because I set my scalaVersion in terms of sbtVersion in pluginCrossBuild: https://github.com/dwijnand/sbt-project-graph/blob/v0.2.1/build.sbt#L16-L20 |
Nope, not stuck, just curious. Used the same workaround, but I think I sourced it from something else of yours (maybe another open issue or a different plugin). |
To avoid adding We could try issuing |
@eed3si9n I had tried that, but unfortunately I ran into another issue which forced me to reinstate the
When running
The way I worked around this was not using I believe this only happens when I have the
UPDATE: |
steps
Given a project definition which includes both an sbt plugin and a non-plugin project that the sbt plugin depends on:
problem
When attempting to cross-compile the plugin for the given sbt versions, the following error occurs during dependency resolution:
expectation
I would expect that when issuing
^compile
, the internal projects that my plugin depends on would be available to it without have to do apublishLocal
or+publishLocal
.notes
The
^compile
task succeeds if I manually issue+publishLocal
from thelibrary
project before attempting^compile
.sbt version: 0.13.16, cross building for 0.13.16 and 1.0.0-RC3
The text was updated successfully, but these errors were encountered: