Package io.quarkus.bootstrap.utils
Class BuildToolHelper
java.lang.Object
io.quarkus.bootstrap.utils.BuildToolHelper
Helper class used to expose build tool used by the project
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ApplicationModelstatic ApplicationModelenableGradleAppModelForDevMode(Path projectRoot) static ApplicationModelenableGradleAppModelForTest(Path projectRoot) static BuildToolHelper.BuildToolfindBuildTool(Path project) static PathgetBuildFile(Path project, BuildToolHelper.BuildTool tool) static Pathstatic booleanisGradleProject(Path project) static booleanisMavenProject(Path project)
-
Method Details
-
getProjectDir
-
findBuildTool
-
isMavenProject
-
isGradleProject
-
getBuildFile
-
enableGradleAppModelForTest
public static ApplicationModel enableGradleAppModelForTest(Path projectRoot) throws IOException, AppModelResolverException - Throws:
IOExceptionAppModelResolverException
-
enableGradleAppModel
public static ApplicationModel enableGradleAppModel(Path projectRoot, String mode, List<String> jvmArgs, String... tasks) throws IOException, AppModelResolverException - Throws:
IOExceptionAppModelResolverException
-
enableGradleAppModelForDevMode
public static ApplicationModel enableGradleAppModelForDevMode(Path projectRoot) throws IOException, AppModelResolverException - Throws:
IOExceptionAppModelResolverException
-