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 2020/09/03 15:51:36 UTC

[lucene-solr] branch master updated: Remove the explicit dependency to "check", as fobiddenapis installs it automatically (especially for all source sets; if we want this explicit dependency, it should depend on 'forbiddenApis' not each task). In addition precommit, also adds it.

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 469d742  Remove the explicit dependency to "check", as fobiddenapis installs it automatically (especially for all source sets; if we want this explicit dependency, it should depend on 'forbiddenApis' not each task). In addition precommit, also adds it.
     new 5d4487d  Merge branch 'master' of https://gitbox.apache.org/repos/asf/lucene-solr
469d742 is described below

commit 469d742384a8f029f9162f17825eba78093a6a61
Author: Uwe Schindler <us...@apache.org>
AuthorDate: Thu Sep 3 17:50:57 2020 +0200

    Remove the explicit dependency to "check", as fobiddenapis installs it automatically (especially for all source sets; if we want this explicit dependency, it should depend on 'forbiddenApis' not each task). In addition precommit, also adds it.
---
 gradle/validation/forbidden-apis.gradle | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gradle/validation/forbidden-apis.gradle b/gradle/validation/forbidden-apis.gradle
index 4767d0f..f08fdc0 100644
--- a/gradle/validation/forbidden-apis.gradle
+++ b/gradle/validation/forbidden-apis.gradle
@@ -89,9 +89,6 @@ allprojects { prj ->
       ]
     }
 
-    // Attach validation to check task.
-    check.dependsOn forbiddenApisMain, forbiddenApisTest
-
     // Disable sysout signatures for these projects.
     if (prj.path in [
         ":lucene:demo",