@groovy.transform.CompileStatic abstract class OssIndexAuditThrottle extends java.lang.Object implements BuildService<BuildServiceParameters.None>
Shared build service used solely as a concurrency gate for ossIndexAudit tasks.
The Sonatype OSS Index Gradle plugin backs every audit task with a single shared
on-disk response cache guarded by a file lock. When Gradle runs audit tasks in parallel
(the default with org.gradle.parallel=true), the tasks contend for that lock and
fail with java.nio.channels.OverlappingFileLockException, surfaced by the plugin
as the opaque Could not audit the project: null.
Registered with maxParallelUsages = 1, this service forces Gradle to run at most
one audit task at a time while leaving parallel execution enabled for the rest of the build.
| Constructor and description |
|---|
OssIndexAuditThrottle() |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |