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
{{ message }}
This repository was archived by the owner on Feb 17, 2026. It is now read-only.
spoon {
// The number of separate shards to create.if (project.hasProperty('spoonNumShards')) {
numShards = project.spoonNumShards
}
// The shardIndex option to specify which shard to run.if (project.hasProperty('spoonShardIndex')) {
shardIndex = project.spoonShardIndex
}
}
spoon {
// The number of separate shards to create.if (project.hasProperty('spoonNumShards')) {
numShards =Integer.valueOf(project.spoonNumShards)
}
// The shardIndex option to specify which shard to run.if (project.hasProperty('spoonShardIndex')) {
shardIndex =Integer.valueOf(project.spoonShardIndex)
}
}
Ask:
Avoid this issue by having the spoon gradle plugin validate its input and throw an exception when numShards/shardIndex, are not integers.