alextu commented on a change in pull request #277: URL: https://github.com/apache/solr/pull/277#discussion_r698588029
########## File path: solr/solr-ref-guide/build.gradle ########## @@ -215,20 +216,21 @@ check.dependsOn checkLocalJavadocLinksSite, checkSite // Hook site building to assemble. assemble.dependsOn buildSite +@CacheableTask abstract class PrepareSources extends DefaultTask { // Original Source files we'll be syncing <b>FROM</b> @InputDirectory - public DirectoryProperty srcDir = project.objects.directoryProperty() + abstract DirectoryProperty getSrcDir() Review comment: Yes exactly, so the docs are [here](https://docs.gradle.org/current/userguide/lazy_configuration.html#working_with_files_in_lazy_properties) but afaik it does not explain the runtime magical injection happening. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org