Class GradleProjectBuildFile

java.lang.Object
io.quarkus.devtools.project.buildfile.BuildFile
io.quarkus.devtools.project.buildfile.GradleProjectBuildFile
All Implemented Interfaces:
io.quarkus.devtools.project.extensions.ExtensionManager
Direct Known Subclasses:
GradleGroovyProjectBuildFile, GradleKotlinProjectBuildFile

public abstract class GradleProjectBuildFile extends io.quarkus.devtools.project.buildfile.BuildFile
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.quarkus.devtools.project.extensions.ExtensionManager

    io.quarkus.devtools.project.extensions.ExtensionManager.InstallResult, io.quarkus.devtools.project.extensions.ExtensionManager.UninstallResult
  • Constructor Summary

    Constructors
    Constructor
    Description
    GradleProjectBuildFile(org.gradle.api.Project project, io.quarkus.registry.catalog.ExtensionCatalog catalog)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
     
    protected List<io.quarkus.maven.dependency.ArtifactCoords>
     
    List<io.quarkus.maven.dependency.ArtifactCoords>
     
     
    protected void
     
    protected void
    removeDependency(io.quarkus.maven.dependency.ArtifactKey arg0)
     
    protected io.quarkus.maven.dependency.ArtifactCoords
    toBomImportCoords(io.quarkus.maven.dependency.ArtifactCoords rawBomCoords)
     
    void
     

    Methods inherited from class io.quarkus.devtools.project.buildfile.BuildFile

    addDependency, getInstalled, getProjectDirPath, hasProjectFile, importBom, install, install, isDefinedInRegistry, readProjectFile, uninstall, writeToProjectFile, 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

    getBuildTool, isInstalled
  • Constructor Details

    • GradleProjectBuildFile

      public GradleProjectBuildFile(org.gradle.api.Project project, io.quarkus.registry.catalog.ExtensionCatalog catalog)
  • Method Details

    • getDependencies

      protected List<io.quarkus.maven.dependency.ArtifactCoords> getDependencies() throws IOException
      Specified by:
      getDependencies in class io.quarkus.devtools.project.buildfile.BuildFile
      Throws:
      IOException
    • getProperty

      public String getProperty(String name)
    • toBomImportCoords

      protected io.quarkus.maven.dependency.ArtifactCoords toBomImportCoords(io.quarkus.maven.dependency.ArtifactCoords rawBomCoords)
    • getInstalledPlatforms

      public List<io.quarkus.maven.dependency.ArtifactCoords> getInstalledPlatforms() throws IOException
      Throws:
      IOException
    • writeToDisk

      public void writeToDisk() throws IOException
      Specified by:
      writeToDisk in class io.quarkus.devtools.project.buildfile.BuildFile
      Throws:
      IOException
    • removeDependency

      protected void removeDependency(io.quarkus.maven.dependency.ArtifactKey arg0)
      Specified by:
      removeDependency in class io.quarkus.devtools.project.buildfile.BuildFile
    • refreshData

      protected void refreshData()
      Specified by:
      refreshData in class io.quarkus.devtools.project.buildfile.BuildFile
    • getBuildContent

      protected String getBuildContent()