Since SBT 0.13.13 it is deprecated ( <<=deprecated):
compile in Compile <<= (compile in Compile).dependsOn(apiDoc)
So the only way to find this:
compile in Compile := {
apiDoc.value
(compile in Compile).value
}
But now I have a warning about a useless expression apiDoc.value. But it is not useless! I cannot find documentation that this is a new way.
source
share