fommil
fommil

Reputation: 5875

How to obtain the source and javadoc files?

I am writing an SBT Command and I can obtain the full list of resolved files for any project with

import UpdateReport._
(update in Test).value.allFiles

However, this does not include the -source and -javadoc files.

How do I programmatically re-run update so that it resolves and provides me the sources and docs in an UpdateReport? (i.e. re-run as if withSources and withJavadoc were applied to every ModuleID)

Upvotes: 0

Views: 44

Answers (1)

fommil
fommil

Reputation: 5875

ok, this was trivial:

import UpdateReport._
(updateClassifiers in Test).value.allFiles

Upvotes: 1

Related Questions