`scripted` does not publishLocal transitive project dependencies
See original GitHub issuesteps
For example:
val lib = project
val plugin = project.dependsOn(lib) // an sbt plugin
- Define a scripted test for
plugin
- Run
scripted
from sbt
problem
- scripted does a
publishLocal
only onplugin
, dependency is not published - test run fails because of missing dependency
- workaround: I can manually do publishLocal := publishLocal.dependsOn(publishLocal in lib).value
sbt version: 0.13.15
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Transitive project dependencies not found - Stack Overflow
The order of include statements in settings.gradle has no relevance. Execution dependencies are always between tasks, not between projects.
Read more >sbt/sbt - Gitter
Hi, I'm using sbt 1.0.0. When it tries to resolve dynamic dependencies, like "org.mockito" % "mockito-core" % "latest.release" % "test".
Read more >sbt Reference Manual — Library Management
Explicit URL. If your project requires a dependency that is not present in a repository, a direct URL to its jar can be...
Read more >Mill: Better Scala Builds - Haoyi's Programming Blog
Unlike SBT, Mill does not aim to be the center of your world: you can ... level of tracking for the internal (inter-project)...
Read more >Introducing Transitive Dependencies in Visual Studio
Lastly, you can hover over any transitive dependency to understand the top-level dependencies that brought it into your project. Image ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks Kyle. This was in fact fixed in 1.5.0 by @steinybot - https://github.com/sbt/sbt/pull/6351
FWIW I just updated my project to
1.5.2
and was able to remove thepublishLocal := publishLocal.dependsOn(publishLocal in lib).value