From 4707fa2322bd420f209301ea12b816b198af76e9 Mon Sep 17 00:00:00 2001 From: Dawid Weiss Date: Fri, 13 Dec 2019 15:21:08 +0100 Subject: [PATCH] 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 b201c7ec26c..2d3e0a37cdc 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 4490d730953..94d3598131f 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