Configuring tasks
JVM runner tasks such as Test and JavaExec that might need access to cached binaries, can be configured from the extension.
As from 4.0, Test tasks are no longer configured automatically and it is up to the build script author to explicitly make a connection.
|
| Method | Purpose |
|---|---|
configureTestTask |
Configures a single |
configureTestTasks |
Configures a collection of |
configureExecTask |
Configures a single |
configureExecSpec |
Configures something that implements |
configureForkOptions |
Configures something that implements |
task exec(type: JavaExec) {
// ...
}
webdriverBinaries {
configureExecTask(exec)
}