Class BuildToolHelper

java.lang.Object
io.quarkus.bootstrap.utils.BuildToolHelper

public class BuildToolHelper extends Object
Helper class used to expose build tool used by the project
  • Method Details

    • getProjectDir

      public static Path getProjectDir(Path p)
    • findBuildTool

      public static BuildToolHelper.BuildTool findBuildTool(Path project)
    • isMavenProject

      public static boolean isMavenProject(Path project)
    • isGradleProject

      public static boolean isGradleProject(Path project)
    • getBuildFile

      public static Path getBuildFile(Path project, BuildToolHelper.BuildTool tool)
    • enableGradleAppModelForTest

      public static io.quarkus.bootstrap.model.ApplicationModel enableGradleAppModelForTest(Path projectRoot) throws IOException, io.quarkus.bootstrap.resolver.AppModelResolverException
      Throws:
      IOException
      io.quarkus.bootstrap.resolver.AppModelResolverException
    • enableGradleAppModelForProdMode

      public static io.quarkus.bootstrap.model.ApplicationModel enableGradleAppModelForProdMode(Path projectRoot) throws IOException, io.quarkus.bootstrap.resolver.AppModelResolverException
      Throws:
      IOException
      io.quarkus.bootstrap.resolver.AppModelResolverException
    • enableGradleAppModel

      public static io.quarkus.bootstrap.model.ApplicationModel enableGradleAppModel(Path projectRoot, String mode, List<String> jvmArgs, String... tasks) throws IOException, io.quarkus.bootstrap.resolver.AppModelResolverException
      Throws:
      IOException
      io.quarkus.bootstrap.resolver.AppModelResolverException
    • enableGradleAppModelForDevMode

      public static io.quarkus.bootstrap.model.ApplicationModel enableGradleAppModelForDevMode(Path projectRoot) throws IOException, io.quarkus.bootstrap.resolver.AppModelResolverException
      Throws:
      IOException
      io.quarkus.bootstrap.resolver.AppModelResolverException