You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by dw...@apache.org on 2019/10/10 07:16:14 UTC
[lucene-solr] branch jira/SOLR-13452_gradle_7_refguide updated: Run
property expansion in doFirst,
otherwise they get evaluated too early and don't have version info.
This is an automated email from the ASF dual-hosted git repository.
dweiss pushed a commit to branch jira/SOLR-13452_gradle_7_refguide
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/jira/SOLR-13452_gradle_7_refguide by this push:
new 713cb25 Run property expansion in doFirst, otherwise they get evaluated too early and don't have version info.
713cb25 is described below
commit 713cb25988716437e745f3f73dfb33d2bef361eb
Author: Dawid Weiss <dw...@apache.org>
AuthorDate: Thu Oct 10 09:16:01 2019 +0200
Run property expansion in doFirst, otherwise they get evaluated too early and don't have version info.
---
solr/solr-ref-guide/build.gradle | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/solr/solr-ref-guide/build.gradle b/solr/solr-ref-guide/build.gradle
index 4981fa0..01ecc17 100644
--- a/solr/solr-ref-guide/build.gradle
+++ b/solr/solr-ref-guide/build.gradle
@@ -245,8 +245,11 @@ task buildInit(type: Sync) {
filter(org.apache.tools.ant.filters.ExpandProperties, project: dummyAntProject)
})
- afterEvaluate {
- props.each { k, v -> dummyAntProject.setProperty(k, v) }
+ doFirst {
+ props.each { k, v ->
+ dummyAntProject.setProperty(k, v)
+ println("# " + k + " " + v)
+ }
}
into buildContentDir