Class AbstractGroovyGradleBuildFile
java.lang.Object
io.quarkus.devtools.project.buildfile.BuildFile
io.quarkus.devtools.project.buildfile.AbstractGroovyGradleBuildFile
- All Implemented Interfaces:
ExtensionManager
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.devtools.project.extensions.ExtensionManager
ExtensionManager.InstallResult, ExtensionManager.UninstallResult -
Constructor Summary
ConstructorsConstructorDescriptionAbstractGroovyGradleBuildFile(Path projectDirPath, io.quarkus.registry.catalog.ExtensionCatalog catalog) AbstractGroovyGradleBuildFile(Path projectDirPath, io.quarkus.registry.catalog.ExtensionCatalog catalog, Path rootProjectPath) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanaddDependency(io.quarkus.maven.dependency.ArtifactCoords coords, boolean managed) protected StringgetProperty(String propertyName) protected booleanimportBom(io.quarkus.maven.dependency.ArtifactCoords coords) protected voidprotected voidremoveDependency(io.quarkus.maven.dependency.ArtifactKey key) voidMethods inherited from class io.quarkus.devtools.project.buildfile.BuildFile
getDependencies, getInstalled, getProjectDirPath, hasProjectFile, install, install, isDefinedInRegistry, readProjectFile, uninstall, writeToProjectFile, writeToProjectFileMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.devtools.project.extensions.ExtensionManager
getInstalledPlatforms, isInstalled
-
Constructor Details
-
AbstractGroovyGradleBuildFile
public AbstractGroovyGradleBuildFile(Path projectDirPath, io.quarkus.registry.catalog.ExtensionCatalog catalog) -
AbstractGroovyGradleBuildFile
-
-
Method Details
-
importBom
protected boolean importBom(io.quarkus.maven.dependency.ArtifactCoords coords) -
addDependency
protected boolean addDependency(io.quarkus.maven.dependency.ArtifactCoords coords, boolean managed) - Specified by:
addDependencyin classBuildFile
-
getBuildTool
- Returns:
- the
BuildToolof this extension manager
-
writeToDisk
- Specified by:
writeToDiskin classBuildFile- Throws:
IOException
-
removeDependency
protected void removeDependency(io.quarkus.maven.dependency.ArtifactKey key) - Specified by:
removeDependencyin classBuildFile
-
getProperty
- Specified by:
getPropertyin classBuildFile
-
refreshData
protected void refreshData()- Specified by:
refreshDatain classBuildFile
-
getBuildContent
-