Class BuildInvoker.Gradlew

java.lang.Object
io.github.intisy.gradle.github.impl.source.BuildInvoker.Gradlew
All Implemented Interfaces:
BuildInvoker
Enclosing interface:
BuildInvoker

public static final class BuildInvoker.Gradlew extends Object implements BuildInvoker
Shells out to the checkout's own gradlew wrapper, so the build runs with whatever Gradle version and plugin configuration the checkout itself declares.
  • Constructor Details

    • Gradlew

      public Gradlew(GitHubLogger logger)
      Parameters:
      logger - receives the gradlew build invocation's debug output.
  • Method Details

    • invoke

      public void invoke(File checkoutDir) throws IOException
      Description copied from interface: BuildInvoker
      Runs the build against the given checkout and blocks until it completes.
      Specified by:
      invoke in interface BuildInvoker
      Parameters:
      checkoutDir - the checked-out repository directory to build.
      Throws:
      IOException - if the build cannot be started, is interrupted, or exits non-zero.