Class KotlinDslGradleBuildWriter
java.lang.Object
io.spring.initializr.generator.buildsystem.gradle.GradleBuildWriter
io.spring.initializr.generator.buildsystem.gradle.KotlinDslGradleBuildWriter
A
GradleBuild
writer for build.gradle.kts
.- Author:
- Jean-Baptiste Nizet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected String
invocationAsString
(GradleTask.Invocation invocation) protected String
repositoryAsString
(MavenRepository repository) protected void
writeBuildscript
(IndentingWriter writer, GradleBuild build) protected void
writeConfiguration
(IndentingWriter writer, GradleConfiguration configuration, List<String> customConfigurations) protected void
writeConfigurations
(IndentingWriter writer, GradleConfigurationContainer configurations) protected void
writeDependency
(IndentingWriter writer, Dependency dependency) protected void
writeExtraProperties
(IndentingWriter writer, Map<String, String> allProperties) protected void
writeJavaSourceCompatibility
(IndentingWriter writer, GradleBuildSettings settings) protected void
writePlugins
(IndentingWriter writer, GradleBuild build) protected void
writeProperty
(IndentingWriter writer, String name, String value) protected void
writeTasks
(IndentingWriter writer, GradleTaskContainer tasks) Methods inherited from class io.spring.initializr.generator.buildsystem.gradle.GradleBuildWriter
configurationForDependency, extractStandardPlugin, getDependencyComparator, writeCollection, writeCollection, writeMap, writeNestedCollection, writeNestedCollection, writeRepositories, writeTaskCustomization, writeTo
-
Constructor Details
-
KotlinDslGradleBuildWriter
public KotlinDslGradleBuildWriter()
-
-
Method Details
-
writeBuildscript
- Specified by:
writeBuildscript
in classGradleBuildWriter
-
writePlugins
- Specified by:
writePlugins
in classGradleBuildWriter
-
writeJavaSourceCompatibility
- Specified by:
writeJavaSourceCompatibility
in classGradleBuildWriter
-
repositoryAsString
- Specified by:
repositoryAsString
in classGradleBuildWriter
-
writeConfigurations
protected void writeConfigurations(IndentingWriter writer, GradleConfigurationContainer configurations) - Specified by:
writeConfigurations
in classGradleBuildWriter
-
writeConfiguration
protected void writeConfiguration(IndentingWriter writer, GradleConfiguration configuration, List<String> customConfigurations) -
writeDependency
- Specified by:
writeDependency
in classGradleBuildWriter
-
writeExtraProperties
- Specified by:
writeExtraProperties
in classGradleBuildWriter
-
bomAsString
- Specified by:
bomAsString
in classGradleBuildWriter
-
writeTasks
- Specified by:
writeTasks
in classGradleBuildWriter
-
invocationAsString
- Specified by:
invocationAsString
in classGradleBuildWriter
-
writeProperty
- Specified by:
writeProperty
in classGradleBuildWriter
-