diff --git a/gradle/validation/jar-checks.gradle b/gradle/validation/jar-checks.gradle index 1af5a86f12c..c8d9d93f23d 100644 --- a/gradle/validation/jar-checks.gradle +++ b/gradle/validation/jar-checks.gradle @@ -47,6 +47,14 @@ def licenseTypes = [ "COMPOUND": [name: "Compound license (details in NOTICE file)."], ] +allprojects { + task licenses() { + group = 'Dependency validation' + description = "Apply all dependency/ license checks." + } + check.dependsOn(licenses) +} + subprojects { // Configure jarValidation configuration for all projects. Any dependency // declared on this configuration (or any configuration it extends from) will @@ -226,14 +234,7 @@ subprojects { } } - task licenses() { - group = 'Dependency validation' - description = "Apply all dependency/ license checks." - - dependsOn validateJarChecksums, validateJarLicenses - } - - check.dependsOn(licenses) + licenses.dependsOn validateJarChecksums, validateJarLicenses } // Check for dangling files in the licenses folder. @@ -268,7 +269,7 @@ configure([project(":solr"), project(":lucene"), ]) { } } - check.dependsOn checkDanglingLicenseFiles + licenses.dependsOn checkDanglingLicenseFiles } // Exclude files that are not a result of direct dependencies but have to be there. @@ -294,7 +295,7 @@ configure(project(":solr")) { // Disable validation for these projects (should it be disabled?) configure(project(":solr:solr-ref-guide")) { - [validateJarLicenses, validateJarChecksums].each { task -> + [validateJarLicenses, validateJarChecksums, updateChecksums].each { task -> task.enabled = false } } diff --git a/solr/licenses-gradle/android-json-0.0.20131108.vaadin1.jar.sha1 b/solr/licenses-gradle/android-json-0.0.20131108.vaadin1.jar.sha1 deleted file mode 100644 index aae1696611b..00000000000 --- a/solr/licenses-gradle/android-json-0.0.20131108.vaadin1.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -fa26d351fe62a6a17f5cda1287c1c6110dec413f \ No newline at end of file diff --git a/solr/licenses-gradle/animal-sniffer-annotations-1.14.jar.sha1 b/solr/licenses-gradle/animal-sniffer-annotations-1.14.jar.sha1 deleted file mode 100644 index af52981818a..00000000000 --- a/solr/licenses-gradle/animal-sniffer-annotations-1.14.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -775b7e22fb10026eed3f86e8dc556dfafe35f2d5 \ No newline at end of file diff --git a/solr/licenses-gradle/asciidoctorj-1.6.2.jar.sha1 b/solr/licenses-gradle/asciidoctorj-1.6.2.jar.sha1 deleted file mode 100644 index f90652e63ac..00000000000 --- a/solr/licenses-gradle/asciidoctorj-1.6.2.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -899c972f69febedc39dca5108d83b9294ceeeff8 \ No newline at end of file diff --git a/solr/licenses-gradle/asciidoctorj-api-1.6.2.jar.sha1 b/solr/licenses-gradle/asciidoctorj-api-1.6.2.jar.sha1 deleted file mode 100644 index f7bbbe0b843..00000000000 --- a/solr/licenses-gradle/asciidoctorj-api-1.6.2.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -3af7648a5222cd34fec40ce69711fa7e3821ebe7 \ No newline at end of file diff --git a/solr/licenses-gradle/backport9-1.1.jar.sha1 b/solr/licenses-gradle/backport9-1.1.jar.sha1 deleted file mode 100644 index 1895d78286e..00000000000 --- a/solr/licenses-gradle/backport9-1.1.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -ff265cbb64b4cac3528b342d80234caa98d7eb9b \ No newline at end of file diff --git a/solr/licenses-gradle/checker-qual-2.0.0.jar.sha1 b/solr/licenses-gradle/checker-qual-2.0.0.jar.sha1 deleted file mode 100644 index 21f464ef94c..00000000000 --- a/solr/licenses-gradle/checker-qual-2.0.0.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -518929596ee3249127502a8573b2e008e2d51ed3 \ No newline at end of file diff --git a/solr/licenses-gradle/dirgra-0.3.jar.sha1 b/solr/licenses-gradle/dirgra-0.3.jar.sha1 deleted file mode 100644 index 1a1b752b440..00000000000 --- a/solr/licenses-gradle/dirgra-0.3.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -fcdf20c966ff7bd3299c3d7fb3e7bfb14e38d4ee \ No newline at end of file diff --git a/solr/licenses-gradle/error_prone_annotations-2.1.3.jar.sha1 b/solr/licenses-gradle/error_prone_annotations-2.1.3.jar.sha1 deleted file mode 100644 index a5292adcc7e..00000000000 --- a/solr/licenses-gradle/error_prone_annotations-2.1.3.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -39b109f2cd352b2d71b52a3b5a1a9850e1dc304b \ No newline at end of file diff --git a/solr/licenses-gradle/invokebinder-1.11.jar.sha1 b/solr/licenses-gradle/invokebinder-1.11.jar.sha1 deleted file mode 100644 index 61029cb77fb..00000000000 --- a/solr/licenses-gradle/invokebinder-1.11.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -05dff3f694f5ab7f48457138f57ac4af95e739c9 \ No newline at end of file diff --git a/solr/licenses-gradle/j2objc-annotations-1.1.jar.sha1 b/solr/licenses-gradle/j2objc-annotations-1.1.jar.sha1 deleted file mode 100644 index f05254992d8..00000000000 --- a/solr/licenses-gradle/j2objc-annotations-1.1.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -ed28ded51a8b1c6b112568def5f4b455e6809019 \ No newline at end of file diff --git a/solr/licenses-gradle/jcodings-1.0.41.jar.sha1 b/solr/licenses-gradle/jcodings-1.0.41.jar.sha1 deleted file mode 100644 index 6a443a8ad8e..00000000000 --- a/solr/licenses-gradle/jcodings-1.0.41.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -7cdfc30451010e4d6c65af5a3a4f357563289245 \ No newline at end of file diff --git a/solr/licenses-gradle/jcommander-1.35.jar.sha1 b/solr/licenses-gradle/jcommander-1.35.jar.sha1 deleted file mode 100644 index eb545f0ff6e..00000000000 --- a/solr/licenses-gradle/jcommander-1.35.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -47592e181b0bdbbeb63029e08c5e74f6803c4edd \ No newline at end of file diff --git a/solr/licenses-gradle/jffi-1.2.18-native.jar.sha1 b/solr/licenses-gradle/jffi-1.2.18-native.jar.sha1 deleted file mode 100644 index 2da49ff8eaf..00000000000 --- a/solr/licenses-gradle/jffi-1.2.18-native.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -fb54851e631ff91651762587bc3c61a407d328df \ No newline at end of file diff --git a/solr/licenses-gradle/jffi-1.2.18.jar.sha1 b/solr/licenses-gradle/jffi-1.2.18.jar.sha1 deleted file mode 100644 index 4544dbd3434..00000000000 --- a/solr/licenses-gradle/jffi-1.2.18.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -e483f63d2c18544c49f30836e13ff57f4a78d32d \ No newline at end of file diff --git a/solr/licenses-gradle/jnr-constants-0.9.12.jar.sha1 b/solr/licenses-gradle/jnr-constants-0.9.12.jar.sha1 deleted file mode 100644 index 4cc05759be5..00000000000 --- a/solr/licenses-gradle/jnr-constants-0.9.12.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -cb3bcb39040951bc78a540a019573eaedfc8fb81 \ No newline at end of file diff --git a/solr/licenses-gradle/jnr-enxio-0.19.jar.sha1 b/solr/licenses-gradle/jnr-enxio-0.19.jar.sha1 deleted file mode 100644 index 7d41db0c52f..00000000000 --- a/solr/licenses-gradle/jnr-enxio-0.19.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -c7664aa74f424748b513619d71141a249fb74e3e \ No newline at end of file diff --git a/solr/licenses-gradle/jnr-netdb-1.1.6.jar.sha1 b/solr/licenses-gradle/jnr-netdb-1.1.6.jar.sha1 deleted file mode 100644 index f0e0a09de01..00000000000 --- a/solr/licenses-gradle/jnr-netdb-1.1.6.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -ac1e5af7edfda95086679f27a35b18f10f4c88b5 \ No newline at end of file diff --git a/solr/licenses-gradle/jnr-posix-3.0.49.jar.sha1 b/solr/licenses-gradle/jnr-posix-3.0.49.jar.sha1 deleted file mode 100644 index 2d1122072f5..00000000000 --- a/solr/licenses-gradle/jnr-posix-3.0.49.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -f0265a1e04c51aa056f2e34eb3834d4e898d5950 \ No newline at end of file diff --git a/solr/licenses-gradle/jnr-unixsocket-0.20.jar.sha1 b/solr/licenses-gradle/jnr-unixsocket-0.20.jar.sha1 deleted file mode 100644 index f3cafcc7235..00000000000 --- a/solr/licenses-gradle/jnr-unixsocket-0.20.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -b683f10dded734c662c418160e314e6db936fdee \ No newline at end of file diff --git a/solr/licenses-gradle/joda-time-2.9.9.jar.sha1 b/solr/licenses-gradle/joda-time-2.9.9.jar.sha1 deleted file mode 100644 index 4009932ea3b..00000000000 --- a/solr/licenses-gradle/joda-time-2.9.9.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -f7b520c458572890807d143670c9b24f4de90897 \ No newline at end of file diff --git a/solr/licenses-gradle/joni-2.1.25.jar.sha1 b/solr/licenses-gradle/joni-2.1.25.jar.sha1 deleted file mode 100644 index b54d7ec1287..00000000000 --- a/solr/licenses-gradle/joni-2.1.25.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -5dbb09787a9b8780737b71fbf942235ef59051b9 \ No newline at end of file diff --git a/solr/licenses-gradle/jruby-9.2.6.0.jar.sha1 b/solr/licenses-gradle/jruby-9.2.6.0.jar.sha1 deleted file mode 100644 index 89878f2d08d..00000000000 --- a/solr/licenses-gradle/jruby-9.2.6.0.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -16bfeaedf8525931a188582adfdb4c0951a14605 \ No newline at end of file diff --git a/solr/licenses-gradle/jruby-core-9.2.6.0.jar.sha1 b/solr/licenses-gradle/jruby-core-9.2.6.0.jar.sha1 deleted file mode 100644 index 5f4fb10e12a..00000000000 --- a/solr/licenses-gradle/jruby-core-9.2.6.0.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -653601d48b38528e76840c6eac1ae46e2dae1a74 \ No newline at end of file diff --git a/solr/licenses-gradle/jruby-stdlib-9.2.6.0.jar.sha1 b/solr/licenses-gradle/jruby-stdlib-9.2.6.0.jar.sha1 deleted file mode 100644 index 954cb1f87ff..00000000000 --- a/solr/licenses-gradle/jruby-stdlib-9.2.6.0.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -e8d7b9874802fd42cfa961959b69e9cb0fe444df \ No newline at end of file diff --git a/solr/licenses-gradle/jsoup-1.11.3.jar.sha1 b/solr/licenses-gradle/jsoup-1.11.3.jar.sha1 deleted file mode 100644 index 46f41c96117..00000000000 --- a/solr/licenses-gradle/jsoup-1.11.3.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -36da09a8f68484523fa2aaa100399d612b247d67 \ No newline at end of file diff --git a/solr/licenses-gradle/jsr305-3.0.2.jar.sha1 b/solr/licenses-gradle/jsr305-3.0.2.jar.sha1 deleted file mode 100644 index c5c92d87b9d..00000000000 --- a/solr/licenses-gradle/jsr305-3.0.2.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -25ea2e8b0c338a877313bd4672d3fe056ea78f0d \ No newline at end of file diff --git a/solr/licenses-gradle/jzlib-1.1.3.jar.sha1 b/solr/licenses-gradle/jzlib-1.1.3.jar.sha1 deleted file mode 100644 index 2affa9b8cd5..00000000000 --- a/solr/licenses-gradle/jzlib-1.1.3.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -c01428efa717624f7aabf4df319939dda9646b2d \ No newline at end of file diff --git a/solr/licenses-gradle/modulator-1.0.jar.sha1 b/solr/licenses-gradle/modulator-1.0.jar.sha1 deleted file mode 100644 index 1c4b5348e4c..00000000000 --- a/solr/licenses-gradle/modulator-1.0.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -a86d4c523a9c74351db8b0f8cef57603b9497e7a \ No newline at end of file diff --git a/solr/licenses-gradle/nailgun-server-0.9.1.jar.sha1 b/solr/licenses-gradle/nailgun-server-0.9.1.jar.sha1 deleted file mode 100644 index 01d5728dc2b..00000000000 --- a/solr/licenses-gradle/nailgun-server-0.9.1.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -d57ea0a6f6c1bb1b616c5b3b311b3726c6ff35ad \ No newline at end of file diff --git a/solr/licenses-gradle/options-1.4.jar.sha1 b/solr/licenses-gradle/options-1.4.jar.sha1 deleted file mode 100644 index 84ae3a19f14..00000000000 --- a/solr/licenses-gradle/options-1.4.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -34bd3630af4e516fdb4d90d16732b8a3dd2f7b46 \ No newline at end of file diff --git a/solr/licenses-gradle/slf4j-simple-1.7.24.jar.sha1 b/solr/licenses-gradle/slf4j-simple-1.7.24.jar.sha1 deleted file mode 100644 index e8badf27bdf..00000000000 --- a/solr/licenses-gradle/slf4j-simple-1.7.24.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -d9841ffd9d794ab26446df2c46a2ab2b8d2a183e \ No newline at end of file