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
-
-
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.StringgetBuildContent()protected java.util.List<io.quarkus.maven.dependency.ArtifactCoords>getDependencies()java.util.List<io.quarkus.maven.dependency.ArtifactCoords>getInstalledPlatforms()java.lang.StringgetProperty(java.lang.String name)protected voidrefreshData()protected voidremoveDependency(io.quarkus.maven.dependency.ArtifactKey arg0)protected io.quarkus.maven.dependency.ArtifactCoordstoBomImportCoords(io.quarkus.maven.dependency.ArtifactCoords rawBomCoords)voidwriteToDisk()-
Methods inherited from class io.quarkus.devtools.project.buildfile.BuildFile
addDependency, getInstalled, getProjectDirPath, hasProjectFile, importBom, install, install, isDefinedInRegistry, readProjectFile, uninstall, writeToProjectFile
-
-
-
-
Method Detail
-
getDependencies
protected java.util.List<io.quarkus.maven.dependency.ArtifactCoords> getDependencies() throws java.io.IOException- Specified by:
getDependenciesin classio.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:
writeToDiskin classio.quarkus.devtools.project.buildfile.BuildFile- Throws:
java.io.IOException
-
removeDependency
protected void removeDependency(io.quarkus.maven.dependency.ArtifactKey arg0)
- Specified by:
removeDependencyin classio.quarkus.devtools.project.buildfile.BuildFile
-
refreshData
protected void refreshData()
- Specified by:
refreshDatain classio.quarkus.devtools.project.buildfile.BuildFile
-
getBuildContent
protected java.lang.String getBuildContent()
-
-