lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject [lucene-solr] branch jira/SOLR-13452_gradle updated: SOLR-13452: First stab at adding checkMissingJavaDocs task.
Date Sun, 26 May 2019 15:09:39 GMT
This is an automated email from the ASF dual-hosted git repository.

markrmiller 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 c2106db  SOLR-13452: First stab at adding checkMissingJavaDocs task.
c2106db is described below

commit c2106db1e08becaead0612318eda0f4c81207c25
Author: markrmiller <markrmiller@apache.org>
AuthorDate: Sun May 26 10:04:31 2019 -0500

    SOLR-13452: First stab at adding checkMissingJavaDocs task.
---
 build.gradle | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/build.gradle b/build.gradle
index 384c518..4ecd21c 100644
--- a/build.gradle
+++ b/build.gradle
@@ -54,6 +54,21 @@ configure(luceneSolrProjects) {
   }
   
   check.dependsOn ratSources
+  
+  task checkMissingJavaDocs {
+    group = 'Verification'
+    description = "Checks for missing JavaDocs."
+    
+    doLast {
+      project.exec {
+        workingDir project.projectDir.getAbsolutePath()
+        executable "${python_exe}"
+        args = ['-B', rootProjectDir.getAbsolutePath() + '/dev-tools/scripts/checkJavaDocs.py',
project.projectDir.getAbsolutePath(), 'class']
+      }
+    }
+  }
+  
+  check.dependsOn checkMissingJavaDocs
 }
 
 // -> lucene-solr sub module config - configure all lucene-solr modules (excludes the
root project)


Mime
View raw message