[
https://issues.apache.org/jira/browse/SOLR-15670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17424171#comment-17424171
]
Dawid Weiss commented on SOLR-15670:
------------------------------------
It won't work because palantir's plugin stands in the way, eh. I still don't
like the brute-force hammer-all approach. I'd rather have that property
disconnect the 'check' task from its dependencies that render the
documentation, it'd here:
{code}
// Hook up custom tasks with standard tasks.
check.dependsOn checkLocalJavadocLinksSite, checkSite
{code}
if you add a conditional if around this line, the global check shouldn't render
the documentation (and shouldn't resolve gems). No need to disable everything.
> Introduce Gradle parameter to skip ref-guide tasks
> --------------------------------------------------
>
> Key: SOLR-15670
> URL: https://issues.apache.org/jira/browse/SOLR-15670
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Gradle
> Affects Versions: main (9.0)
> Reporter: Houston Putman
> Priority: Major
> Attachments: SOLR-15670.patch
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> A lot of users have no need of building a local reference guide when
> compiling and building artifacts.
> Adding an opt-in option to skip all ref-guide gradle tasks would make it a
> lot easier for custom build systems to skip these steps when the resulting
> artifacts are never used.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]