I have an sbt plugin where the doSomething task uses the output from the compile task. Calling compile.in(Compile).value in the doSo
doSomething
compile
compile.in(Compile).value
doSo