You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If Mkdocs plugin is enabled, but source code is used outside of git, for example after git archive, then all gradle tasks will fail as the Mkdocs plugin fails.
Mkdocs plugin should not fail all gradle tasks just because the source code isn't in a git clone.
Mkdocs plugin looks up publish.repoUri, which fails if there is no git metadata or if a config directory exists at the root of the project.
The text was updated successfully, but these errors were encountered:
Could you please post the error itself here (if possible, run gradle with --stacktrace option). And, please, describe steps to simulate this situatuation (is it multi-module project?).
Plugin works when there is no initialized git in the project (it should be the case for git archive). Anyway, there is only one place that can fail - git origin detection appeared just after project initialization. But I need a guide to reproduce the problem to be sure
There should be a workaround: you can specify mkdocks.publish.repoUrl manually and plugin will not try to auto-detect origin and so should stop failing the build.
If Mkdocs plugin is enabled, but source code is used outside of git, for example after
git archive
, then all gradle tasks will fail as the Mkdocs plugin fails.Mkdocs plugin should not fail all gradle tasks just because the source code isn't in a git clone.
Mkdocs plugin looks up publish.repoUri, which fails if there is no git metadata or if a
config
directory exists at the root of the project.The text was updated successfully, but these errors were encountered: