[
https://issues.apache.org/jira/browse/SOLR-15670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17424660#comment-17424660
]
Dawid Weiss commented on SOLR-15670:
------------------------------------
Thanks for finding this, Houston. I am not sure what's causing enabled not
to work - this is strange indeed! I noticed a similar thing in an unrelated
build somewhere, very strange. We could try onlyIf on jrubyPrepare - this
should work (and should skip the task). If it works then it'd be a
reasonable workaround (if a property is set, detach ref guide building from
assemble, disable jrubyPrepare).
The fact jrubyPrepare always runs looks like a bug to me, btw. This was
also noticed by Alexis Tual while he worked on enabling gradle caches.
Dawid
> 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, 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]