Class KotlinGradleBuildFilesCreator
- java.lang.Object
-
- io.quarkus.devtools.project.buildfile.KotlinGradleBuildFilesCreator
-
public class KotlinGradleBuildFilesCreator extends Object
-
-
Constructor Summary
Constructors Constructor Description KotlinGradleBuildFilesCreator(QuarkusProject quarkusProject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancontainsBOM(String groupId, String artifactId)voidcreate(String groupId, String artifactId, String version, Properties properties, List<io.quarkus.maven.dependency.ArtifactCoords> extensions)StringgetProperty(String propertyName)protected booleanhasProjectFile(String fileName)protected byte[]readProjectFile(String fileName)protected voidwriteToProjectFile(String fileName, byte[] content)
-
-
-
Constructor Detail
-
KotlinGradleBuildFilesCreator
public KotlinGradleBuildFilesCreator(QuarkusProject quarkusProject)
-
-
Method Detail
-
create
public void create(String groupId, String artifactId, String version, Properties properties, List<io.quarkus.maven.dependency.ArtifactCoords> extensions) throws IOException
- Throws:
IOException
-
containsBOM
protected boolean containsBOM(String groupId, String artifactId) throws IOException
- Throws:
IOException
-
getProperty
public String getProperty(String propertyName) throws IOException
- Throws:
IOException
-
hasProjectFile
protected boolean hasProjectFile(String fileName) throws IOException
- Throws:
IOException
-
readProjectFile
protected byte[] readProjectFile(String fileName) throws IOException
- Throws:
IOException
-
writeToProjectFile
protected void writeToProjectFile(String fileName, byte[] content) throws IOException
- Throws:
IOException
-
-