mirror of https://github.com/sbt/sbt.git
Merge pull request #3836 from dwijnand/projectToLocalProject
Introduce projectToLocalProject to replace projectToRef
This commit is contained in:
commit
f2f44c738c
|
|
@ -754,7 +754,9 @@ object Project extends ProjectExtra {
|
|||
EvaluateTask(extracted.structure, taskKey, state, extracted.currentRef, config)
|
||||
}
|
||||
|
||||
implicit def projectToRef(p: Project): ProjectReference = LocalProject(p.id)
|
||||
def projectToRef(p: Project): ProjectReference = LocalProject(p.id)
|
||||
|
||||
implicit def projectToLocalProject(p: Project): LocalProject = LocalProject(p.id)
|
||||
|
||||
final class RichTaskSessionVar[S](i: Def.Initialize[Task[S]]) {
|
||||
import SessionVar.{ persistAndSet, resolveContext, set, transform => tx }
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
[@dwijnand]: https://github.com/dwijnand
|
||||
|
||||
[#3757]: https://github.com/sbt/sbt/issues/3757
|
||||
[#3836]: https://github.com/sbt/sbt/pull/3836
|
||||
|
||||
### Fixes with compatibility implications
|
||||
|
||||
### Improvements
|
||||
|
||||
- Introduces `projectToLocalProject` to replace `projectToRef`. [#3757][]/[#3836][] by [@dwijnand][]
|
||||
|
||||
### Bug fixes
|
||||
Loading…
Reference in New Issue