Class GradleConfigurationBuilder
- java.lang.Object
-
- io.freefair.gradle.plugins.builder.gradle.GradleConfigurationBuilder
-
public class GradleConfigurationBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description GradleConfigurationBuilder()
GradleConfigurationBuilder(FileBuilder fileBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GradleConfigurationBuilder
addCustomConfigurationBlock(String block)
GradleConfigurationBuilder
addDependency(String configurationName, String dependency)
GradleConfigurationBuilder
addRepository(String repository)
GradleConfigurationBuilder
applyPlugin(String pluginId)
void
write()
void
write(FileBuilder builder)
-
-
-
Constructor Detail
-
GradleConfigurationBuilder
public GradleConfigurationBuilder()
-
GradleConfigurationBuilder
public GradleConfigurationBuilder(FileBuilder fileBuilder)
-
-
Method Detail
-
applyPlugin
public GradleConfigurationBuilder applyPlugin(String pluginId)
-
addRepository
public GradleConfigurationBuilder addRepository(String repository)
-
addDependency
public GradleConfigurationBuilder addDependency(String configurationName, String dependency)
-
addCustomConfigurationBlock
public GradleConfigurationBuilder addCustomConfigurationBlock(String block)
-
write
public void write()
-
write
public void write(FileBuilder builder)
-
-