gradle
8.2

# useSpock

abstract fun useSpock()

Use the Spock Framework testing framework.

Gradle will provide the version of Spock to use. Defaults to version `2.2-groovy-3.0`

abstract fun useSpock(version: String)

Use the Spock Framework testing framework with a specific version.

#### Parameters

version

the version of Spock to use

abstract fun useSpock(version: Provider<String>)

Use the Spock Framework testing framework with a specific version.

#### Parameters

version

provider supplying the version of Spock to use