You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lazy val updateExtraProject: State => State = { s: State =>
val projectID = "mc"
val value = "Finally!"
if (Project.extract(s).get(LocalProject(projectID) / cantTouchThis) == value)
s
else s"""set (LocalProject("$projectID") / cantTouchThis) := "$value"""" :: s
}
Global / onLoad := {
val old = (Global / onLoad).value
updateExtraProject compose old
}
steps
project/HammerPlugin.scala
:build.sbt
sbt:
problem
All the normal ways of overriding settings do not seem to work on projects from plugins that are added via
extraProjects
.expectation
sbt:
notes
There is a reproduction with a few other things that I have tried in https://github.com/steinybot/bug-reports/tree/sbt/extra-project-settings.
The text was updated successfully, but these errors were encountered: