public interface BuildInvoker
Injected into SourceBuilder so its caching logic can be tested without running a
real build.
| Modifier and Type | Interface and Description |
|---|---|
static class |
BuildInvoker.Gradlew
Shells out to the checkout's own
gradlew wrapper, so the build runs with whatever
Gradle version and plugin configuration the checkout itself declares. |
| Modifier and Type | Method and Description |
|---|---|
void |
invoke(java.io.File checkoutDir)
Runs the build against the given checkout and blocks until it completes.
|
void invoke(java.io.File checkoutDir)
throws java.io.IOException
checkoutDir - the checked-out repository directory to build.java.io.IOException - if the build cannot be started, is interrupted, or exits non-zero.