Add info about license tasks.

This commit is contained in:
Dawid Weiss 2019-12-13 15:21:08 +01:00
parent 3aff1664e5
commit 4707fa2322
2 changed files with 18 additions and 3 deletions

View File

@ -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

View File

@ -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