Class AbstractGroovyGradleBuildFile
- java.lang.Object
-
- io.quarkus.devtools.project.buildfile.BuildFile
-
- io.quarkus.devtools.project.buildfile.AbstractGroovyGradleBuildFile
-
- All Implemented Interfaces:
ExtensionManager
public abstract class AbstractGroovyGradleBuildFile extends BuildFile
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.quarkus.devtools.project.extensions.ExtensionManager
ExtensionManager.InstallResult, ExtensionManager.UninstallResult
-
-
Constructor Summary
Constructors Constructor Description AbstractGroovyGradleBuildFile(Path projectDirPath, ExtensionCatalog catalog)AbstractGroovyGradleBuildFile(Path projectDirPath, ExtensionCatalog catalog, Path rootProjectPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanaddDependency(io.quarkus.maven.dependency.ArtifactCoords coords, boolean managed)protected StringgetBuildContent()BuildToolgetBuildTool()StringgetProperty(String propertyName)protected booleanimportBom(io.quarkus.maven.dependency.ArtifactCoords coords)protected voidrefreshData()protected voidremoveDependency(io.quarkus.maven.dependency.ArtifactKey key)voidwriteToDisk()-
Methods inherited from class io.quarkus.devtools.project.buildfile.BuildFile
getDependencies, getInstalled, getProjectDirPath, hasProjectFile, install, install, isDefinedInRegistry, readProjectFile, uninstall, writeToProjectFile
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.quarkus.devtools.project.extensions.ExtensionManager
getInstalledPlatforms, isInstalled
-
-
-
-
Constructor Detail
-
AbstractGroovyGradleBuildFile
public AbstractGroovyGradleBuildFile(Path projectDirPath, ExtensionCatalog catalog)
-
AbstractGroovyGradleBuildFile
public AbstractGroovyGradleBuildFile(Path projectDirPath, ExtensionCatalog catalog, Path rootProjectPath)
-
-
Method Detail
-
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
-
writeToDisk
public void writeToDisk() throws IOException- Specified by:
writeToDiskin classBuildFile- Throws:
IOException
-
removeDependency
protected void removeDependency(io.quarkus.maven.dependency.ArtifactKey key)
- Specified by:
removeDependencyin classBuildFile
-
getProperty
public String getProperty(String propertyName)
- Specified by:
getPropertyin classBuildFile
-
refreshData
protected void refreshData()
- Specified by:
refreshDatain classBuildFile
-
getBuildContent
protected String getBuildContent()
-
-