Class GradleProjectBuildFile

    • 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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String getBuildContent()  
      protected java.util.List<io.quarkus.maven.dependency.ArtifactCoords> getDependencies()  
      java.util.List<io.quarkus.maven.dependency.ArtifactCoords> getInstalledPlatforms()  
      java.lang.String getProperty​(java.lang.String name)  
      protected void refreshData()  
      protected void removeDependency​(io.quarkus.maven.dependency.ArtifactKey arg0)  
      protected io.quarkus.maven.dependency.ArtifactCoords toBomImportCoords​(io.quarkus.maven.dependency.ArtifactCoords rawBomCoords)  
      void writeToDisk()  
      • Methods inherited from class io.quarkus.devtools.project.buildfile.BuildFile

        addDependency, getInstalled, getProjectDirPath, hasProjectFile, importBom, 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

        getBuildTool, isInstalled
    • Constructor Detail

      • GradleProjectBuildFile

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

      • getDependencies

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

        public java.lang.String getProperty​(java.lang.String name)
      • toBomImportCoords

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

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

        public void writeToDisk()
                         throws java.io.IOException
        Specified by:
        writeToDisk in class io.quarkus.devtools.project.buildfile.BuildFile
        Throws:
        java.io.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 java.lang.String getBuildContent()