Search Gradle plugins

Duration-balanced class-level test sharding for Gradle, without a coordinator.

https://github.com/sjacek/shardpilot

Sources: https://github.com/sjacek/shardpilot.git

Version 0.5.0

Created 13 November 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 class families using historical test durations, with stable hashing when timing data is unavailable. Works with existing JUnit Jupiter, Spock and TestNG tasks while preserving nested test families and configured test filters. Opt-in YAML selection manifests run a chosen test subset on one or multiple shards with separate suite evidence. Optional per-task controls set worker heap size, parallel forks and process recycling. Opt-in YAML class manifests and standalone JSON and HTML reports compare planned assignments with class selections collected from CI jobs. Opt-in history refresh creates candidate TSV and JSON from existing JUnit XML without rerunning tests or modifying maintained history. Supports Gradle Configuration Cache and any CI provider without a coordinator, replacement test runner or telemetry. Your CI launches every shard and collects the results; class-selection verification complements normal test result checks.

Gradle features compatibility:
Configuration cache ✓
(Incubating) Isolated Projects ?

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.github.sjacek.shardpilot") version "0.5.0"
}

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.5.0")
    }
    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.5.0")
      }
    }
    
    apply(plugin = "io.github.sjacek.shardpilot")
  • Applying plugins to all subprojects .