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 io.quarkus.bootstrap.model.ApplicationModelstatic io.quarkus.bootstrap.model.ApplicationModelenableGradleAppModelForDevMode(Path projectRoot) static io.quarkus.bootstrap.model.ApplicationModelenableGradleAppModelForProdMode(Path projectRoot) static io.quarkus.bootstrap.model.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 io.quarkus.bootstrap.model.ApplicationModel enableGradleAppModelForTest(Path projectRoot) throws IOException, io.quarkus.bootstrap.resolver.AppModelResolverException - Throws:
IOExceptionio.quarkus.bootstrap.resolver.AppModelResolverException
-
enableGradleAppModelForProdMode
public static io.quarkus.bootstrap.model.ApplicationModel enableGradleAppModelForProdMode(Path projectRoot) throws IOException, io.quarkus.bootstrap.resolver.AppModelResolverException - Throws:
IOExceptionio.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:
IOExceptionio.quarkus.bootstrap.resolver.AppModelResolverException
-
enableGradleAppModelForDevMode
public static io.quarkus.bootstrap.model.ApplicationModel enableGradleAppModelForDevMode(Path projectRoot) throws IOException, io.quarkus.bootstrap.resolver.AppModelResolverException - Throws:
IOExceptionio.quarkus.bootstrap.resolver.AppModelResolverException
-