You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2019/05/20 07:17:36 UTC

[lucene-solr] branch jira/SOLR-13452_gradle updated: SOLR-13452: remove unneeded closure param ("project" is already a property of every task, so apply() works)

This is an automated email from the ASF dual-hosted git repository.

uschindler pushed a commit to branch jira/SOLR-13452_gradle
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/jira/SOLR-13452_gradle by this push:
     new f191695  SOLR-13452: remove unneeded closure param ("project" is already a property of every task, so apply() works)
f191695 is described below

commit f1916953314697067b8972483e550cc6636058a4
Author: Uwe Schindler <us...@apache.org>
AuthorDate: Mon May 20 09:17:10 2019 +0200

    SOLR-13452: remove unneeded closure param ("project" is already a property of every task, so apply() works)
---
 build.gradle | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build.gradle b/build.gradle
index 9972e9c..71a9df8 100644
--- a/build.gradle
+++ b/build.gradle
@@ -58,11 +58,11 @@ configure(luceneSolrProjects) {
 }
 
 // -> lucene-solr sub module config - configure all lucene-solr modules (excludes the root project)
-configure(luceneSolrSubProjects) {  pj ->
+configure(luceneSolrSubProjects) {
   
   plugins.withType(JavaPlugin) {
 
-    pj.plugins.apply(LuceneSolrForbiddenApisPlugin)
+    project.plugins.apply(LuceneSolrForbiddenApisPlugin)
     
     sourceCompatibility = "11"
     targetCompatibility = "11"