Closed ignasi35 closed 3 years ago
@ignasi35 The fix for the dependency is here: #407 / #408
About the +scripted
"problem": This is not a problem when running the release
task, because it will not call +scripted
. What it does call is
https://github.com/playframework/twirl/blob/fc42a24563ea582e4b01abf43e8b66798766e5d1/build.sbt#L95
which is
https://github.com/playframework/twirl/blob/fc42a24563ea582e4b01abf43e8b66798766e5d1/build.sbt#L198-L200
Which only correctly calls the scripted test in the plugin
project.
I guess you ran +scripted
locally manually, but that is not the way how it is done when calling release. Therefore this is not a problem.
Running
sbt +scripted
on a fresh clone of the commit https://github.com/ignasi35/twirl/blob/c3fb89394504c40470ea68d9390023eedff93fd9/build.sbt#L185-L191 fails to locate all necessary dependencies:I suspect the problem is the filter there is which limits what artifacts are published before the
scripted
.The workaround is to run
+publishLocal
before+scripted
. But that also fails.When all artifacts have been cross-published,
+ scripted
still fails on:Probably the crossScalaVersion settings should not include 2.13 in some of the pmodules.