You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/checksum-dependency-plugin/README.md
+16-2
Original file line number
Diff line number
Diff line change
@@ -390,14 +390,25 @@ Configuration properties
390
390
391
391
since 1.29.0
392
392
393
-
* checksumCpuThreads (int, default: `ForkJoinPool.getCommonPoolParallelism()`) specifies the number of threads for CPU-bound tasks (PGP verification and SHA computation)
393
+
*`checksumCpuThreads` (int, default: `ForkJoinPool.getCommonPoolParallelism()`) specifies the number of threads for CPU-bound tasks (PGP verification and SHA computation)
394
394
395
395
since 1.29.0
396
396
397
-
* checksumIoThreads (int, default: `50`) specifies the number of threads to use for PGP key resolution
397
+
*`checksumIoThreads` (int, default: `50`) specifies the number of threads to use for PGP key resolution
398
398
399
399
since 1.29.0
400
400
401
+
*`checksumCachedPgpKeysDir` (string, default: `%{ROOT_DIR}/gradle/checksum-dependency-plugin/cached-pgp-keys`) specifies the location for cached PGP keys
402
+
403
+
Public PGP keys are needed for verification, so it is recommended to cache them and commit the keys under source control.
404
+
It makes the build faster (as the keys are not downloaded on each build) and it reduces the chances for build failure caused by misbehaving PGP keyservers.
405
+
406
+
Placeholders:
407
+
408
+
*`%{ROOT_DIR}` replaces to `settings.rootDir.absolutePath`
409
+
410
+
since 1.85.0
411
+
401
412
*`pgpKeyserver` (string, comma separated) specifies keyserver for retrieval of the keys.
402
413
403
414
`*.asc` signatures alone are not sufficient for signature validation, so PGP public keys needs to be downloaded
@@ -487,6 +498,9 @@ Verification options
487
498
488
499
Changelog
489
500
---------
501
+
v1.85
502
+
* Cache public PGP keys under `%{ROOT_DIR}/gradle/checksum-dependency-plugin/cached-pgp-keys` directory
503
+
490
504
v1.78
491
505
* Retrieve keys from https://keyserver.ubuntu.com, and https://keys.openpgp.org by default (drop SKS keyserver pool since it has been deprecated)
Copy file name to clipboardExpand all lines: plugins/checksum-dependency-plugin/src/main/kotlin/com/github/vlsi/gradle/checksum/ChecksumDependencyPlugin.kt
+5-1
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,10 @@ open class ChecksumDependencyPlugin : Plugin<Settings> {
74
74
val checksums =File(settings.rootDir, checksumFileName)
75
75
val buildDir = settings.property("checksumBuildDir", "build/checksum")
0 commit comments