io.github.sjacek.shardpilot
Owner:
Jacek Sztajnke
Duration-balanced class-level test sharding for Gradle, without a coordinator.
Version 0.2.1
Created 23 October 2026.
ShardPilot helps shorten CI feedback for large JVM unit and integration test suites by splitting Gradle Test tasks into deterministic, non-overlapping class-level shards for parallel CI jobs. It balances shards using historical test durations, with deterministic hashing when timing data is unavailable. Works with existing JUnit Jupiter, Spock and TestNG tasks, preserving nested test families and test filters. Optional per-task controls configure worker heap size, parallel forks and process recycling. Supports Gradle Configuration Cache and any CI provider, without a coordinator or replacement test runner. Your CI launches every shard and collects the results.
Add this plugin to your build using the plugins DSL:
plugins {
id("io.github.sjacek.shardpilot") version "0.2.1"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts):dependencies { implementation("io.github.sjacek.shardpilot:io.github.sjacek.shardpilot.gradle.plugin:0.2.1") }It can then be applied in the precompiled script plugin:plugins { id("io.github.sjacek.shardpilot") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("io.github.sjacek.shardpilot:io.github.sjacek.shardpilot.gradle.plugin:0.2.1") } } apply(plugin = "io.github.sjacek.shardpilot") - Applying plugins to all subprojects .