Interface BuildInvoker
- All Known Implementing Classes:
BuildInvoker.Gradlew
public interface BuildInvoker
Runs a build against a checked-out repository.
Injected into SourceBuilder so its caching logic can be tested without running a
real build.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classShells out to the checkout's owngradlewwrapper, so the build runs with whatever Gradle version and plugin configuration the checkout itself declares. -
Method Summary
-
Method Details
-
invoke
Runs the build against the given checkout and blocks until it completes.- Parameters:
checkoutDir- the checked-out repository directory to build.- Throws:
IOException- if the build cannot be started, is interrupted, or exits non-zero.
-