зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1555255 - Don't require a network connection to produce Javadoc. r=geckoview-reviewers,agi
See https://stackoverflow.com/a/24026735. Adding the `docs` package requirement is not ideal, but it's not worth the effort to install it only in automation (or in the relevant task), and it's not *that* large: 1.0G on my macOS installation. Differential Revision: https://phabricator.services.mozilla.com/D35834 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
2bd4c4799f
Коммит
871427c9e4
|
@ -273,7 +273,9 @@ android.libraryVariants.all { variant ->
|
|||
file("${System.properties['java.home']}/lib/rt.jar")] + android.bootClasspath
|
||||
options.memberLevel = JavadocMemberLevel.PROTECTED
|
||||
options.source = 8
|
||||
options.links("https://d.android.com/reference/")
|
||||
// Bug 1555255: don't require a network connection to produce Javadoc.
|
||||
// See https://stackoverflow.com/a/24026735.
|
||||
options.linksOffline("https://d.android.com/reference/", "${android.sdkDirectory}/docs/reference");
|
||||
|
||||
options.docTitle = "GeckoView ${mozconfig.substs.MOZ_APP_VERSION} API"
|
||||
options.header = "GeckoView ${mozconfig.substs.MOZ_APP_VERSION} API"
|
||||
|
|
|
@ -2,3 +2,4 @@ platform-tools
|
|||
build-tools;27.0.3
|
||||
platforms;android-28
|
||||
emulator
|
||||
docs
|
||||
|
|
Загрузка…
Ссылка в новой задаче