Since SBT 0.13.13 this is deprecated (<<=
is deprecated):
compile in Compile <<= (compile in Compile).dependsOn(apiDoc)
So the only way to do I found is this:
compile in Compile := {
apiDoc.value
(compile in Compile).value
}
But now I have a warning about a useless expression apiDoc.value
.
But this is not useless!
I can't find any documentation about what is the new way to do.