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/12/13 14:21:16 UTC

[lucene-solr] branch gradle-master updated: Add info about license tasks.

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

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


The following commit(s) were added to refs/heads/gradle-master by this push:
     new 4707fa2  Add info about license tasks.
4707fa2 is described below

commit 4707fa2322bd420f209301ea12b816b198af76e9
Author: Dawid Weiss <dw...@apache.org>
AuthorDate: Fri Dec 13 15:21:08 2019 +0100

    Add info about license tasks.
---
 help/ant.txt          |  5 +++--
 help/dependencies.txt | 16 +++++++++++++++-
 2 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/help/ant.txt b/help/ant.txt
index b201c7e..2d3e0a3 100644
--- a/help/ant.txt
+++ b/help/ant.txt
@@ -25,8 +25,9 @@ ant compile         => gradlew classes      [better: gradlew assemble]
 ant validate        => gradlew check
 ant test            => gradlew test
 
-ant jar-checksums   => TODO
-ant clean-jars      => NO REPLACEMENT
+ant jar-checksums   => gradlew updateChecksums
+ant check-licenses  => gradlew licenses     [better: gradlew check -x test]
+ant clean-jars      => (NO REPLACEMENT)
 
 ant precommit       => gradlew check -x test
 
diff --git a/help/dependencies.txt b/help/dependencies.txt
index 4490d73..94d3598 100644
--- a/help/dependencies.txt
+++ b/help/dependencies.txt
@@ -72,7 +72,7 @@ the time of writing, jackson-databind has the following entry:
 
 com.fasterxml.jackson.core:jackson-databind:2.10.0 (3 constraints: 931a7796)
 
-and gradlew why --hash=931a7796 prints:
+and "gradlew why --hash=931a7796" prints:
 
 com.fasterxml.jackson.core:jackson-databind:2.10.0
         projects -> 2.10.0
@@ -122,3 +122,17 @@ dependencies {
 
 Note the brackets - they are important and prevent accidental
 mistakes of applying the exclusion to the wrong scope.
+
+
+Updating dependency checksum and licenses
+-----------------------------------------
+
+The last step is to make sure the licenses, notice files and checksums
+are in place for any new dependencies. This command will print what's
+missing and where:
+
+gradlew licenses
+
+To update JAR checksums use:
+
+gradlew updateChecksums