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
  • Constructor Details

    • AbstractGroovyGradleBuildFile

      public AbstractGroovyGradleBuildFile(Path projectDirPath, io.quarkus.registry.catalog.ExtensionCatalog catalog)
    • AbstractGroovyGradleBuildFile

      public AbstractGroovyGradleBuildFile(Path projectDirPath, io.quarkus.registry.catalog.ExtensionCatalog catalog, Path rootProjectPath)
  • Method Details

    • importBom

      protected boolean importBom(io.quarkus.maven.dependency.ArtifactCoords coords)
      Specified by:
      importBom in class BuildFile
    • addDependency

      protected boolean addDependency(io.quarkus.maven.dependency.ArtifactCoords coords, boolean managed)
      Specified by:
      addDependency in class BuildFile
    • getBuildTool

      public BuildTool getBuildTool()
      Returns:
      the BuildTool of this extension manager
    • writeToDisk

      public void writeToDisk() throws IOException
      Specified by:
      writeToDisk in class BuildFile
      Throws:
      IOException
    • removeDependency

      protected void removeDependency(io.quarkus.maven.dependency.ArtifactKey key)
      Specified by:
      removeDependency in class BuildFile
    • getProperty

      public String getProperty(String propertyName)
      Specified by:
      getProperty in class BuildFile
    • refreshData

      protected void refreshData()
      Specified by:
      refreshData in class BuildFile
    • getBuildContent

      protected String getBuildContent()