Class GradleGroovyProjectBuildFile
- java.lang.Object
-
- io.quarkus.devtools.project.buildfile.BuildFile
-
- io.quarkus.devtools.project.buildfile.GradleProjectBuildFile
-
- io.quarkus.devtools.project.buildfile.GradleGroovyProjectBuildFile
-
- All Implemented Interfaces:
io.quarkus.devtools.project.extensions.ExtensionManager
public class GradleGroovyProjectBuildFile extends GradleProjectBuildFile
-
-
Constructor Summary
Constructors Constructor Description GradleGroovyProjectBuildFile(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 booleanaddDependency(io.quarkus.maven.dependency.ArtifactCoords coords, boolean managed)protected java.lang.StringgetBuildContent()io.quarkus.devtools.project.BuildToolgetBuildTool()protected booleanimportBom(io.quarkus.maven.dependency.ArtifactCoords coords)protected voidrefreshData()protected voidremoveDependency(io.quarkus.maven.dependency.ArtifactKey arg0)voidwriteToDisk()-
Methods inherited from class io.quarkus.devtools.project.buildfile.GradleProjectBuildFile
getDependencies, getInstalledPlatforms, getProperty, toBomImportCoords
-
Methods inherited from class io.quarkus.devtools.project.buildfile.BuildFile
getInstalled, getProjectDirPath, hasProjectFile, install, install, isDefinedInRegistry, readProjectFile, uninstall, writeToProjectFile
-
-
-
-
Method Detail
-
importBom
protected boolean importBom(io.quarkus.maven.dependency.ArtifactCoords coords)
- Specified by:
importBomin classio.quarkus.devtools.project.buildfile.BuildFile
-
addDependency
protected boolean addDependency(io.quarkus.maven.dependency.ArtifactCoords coords, boolean managed)- Specified by:
addDependencyin classio.quarkus.devtools.project.buildfile.BuildFile
-
getBuildTool
public io.quarkus.devtools.project.BuildTool getBuildTool()
-
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()
-
-