Package org.gradle.buildinit.specs
Interface BuildInitGenerator
Generates a new project from a configured
BuildInitConfig
.- Since:
- 8.12
- Implementation Requirements:
- Implementations should be
public
,abstract
and provide an (implicit or explicit) 0-argument constructor, as Gradle will instantiate them and inject any specified services. Generators are NOT expected to generate Gradle wrapper files.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generate
(BuildInitConfig config, Directory projectDir) Generates a project from the given configuration in the given directory.
-
Method Details
-
generate
Generates a project from the given configuration in the given directory.- Parameters:
config
- the configuration for the project to generateprojectDir
- the directory that will contain the new project- Since:
- 8.12
-