Class Build
java.lang.Object
io.spring.initializr.generator.buildsystem.Build
- Direct Known Subclasses:
GradleBuild
,MavenBuild
Build configuration for a project.
- Author:
- Andy Wilkinson, Stephane Nicoll
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboms()
Return the bom container to use to configure Bill of Materials.Return the dependency container to use to configure dependencies.protected static BuildItemResolver
determineBuildItemResolver
(BuildItemResolver buildItemResolver) abstract BuildSettings
Return the settings of this build.Return the repository container to use to configure plugin repositories.Return the property container to use to configure properties.Return the repository container to use to configure repositories.abstract BuildSettings.Builder<?>
settings()
Return a builder to configure the general settings of this build.
-
Constructor Details
-
Build
-
-
Method Details
-
determineBuildItemResolver
-
settings
Return a builder to configure the general settings of this build.- Returns:
- a builder for
BuildSettings
.
-
getSettings
Return the settings of this build.- Returns:
- a
BuildSettings
-
properties
Return the property container to use to configure properties.- Returns:
- the
PropertyContainer
-
dependencies
Return the dependency container to use to configure dependencies.- Returns:
- the
DependencyContainer
-
boms
Return the bom container to use to configure Bill of Materials.- Returns:
- the
BomContainer
-
repositories
Return the repository container to use to configure repositories.- Returns:
- the
MavenRepositoryContainer
for repositories
-
pluginRepositories
Return the repository container to use to configure plugin repositories.- Returns:
- the
MavenRepositoryContainer
for plugin repositories
-