Package io.quarkus.bootstrap.utils
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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBuildToolHelper.BuildTool
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QuarkusModelenableGradleAppModel(Path projectRoot, String mode, List<String> jvmArgs, String... tasks)static QuarkusModelenableGradleAppModelForDevMode(Path projectRoot)static QuarkusModelenableGradleAppModelForTest(Path projectRoot)static BuildToolHelper.BuildToolfindBuildTool(Path project)static PathgetBuildFile(Path project, BuildToolHelper.BuildTool tool)static PathgetProjectDir(Path p)static booleanisGradleProject(Path project)static booleanisMavenProject(Path project)
-
-
-
Method Detail
-
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 QuarkusModel enableGradleAppModelForTest(Path projectRoot) throws IOException, AppModelResolverException
- Throws:
IOExceptionAppModelResolverException
-
enableGradleAppModel
public static QuarkusModel enableGradleAppModel(Path projectRoot, String mode, List<String> jvmArgs, String... tasks) throws IOException, AppModelResolverException
- Throws:
IOExceptionAppModelResolverException
-
enableGradleAppModelForDevMode
public static QuarkusModel enableGradleAppModelForDevMode(Path projectRoot) throws IOException, AppModelResolverException
- Throws:
IOExceptionAppModelResolverException
-
-