Package org.gradle.buildinit.specs
Schnittstelle BuildInitGenerator
Generates a new project from a configured
BuildInitConfig.- Seit:
- 8.12
- Implementation Requirements:
- Implementations should be
public,abstractand 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.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidgenerate(BuildInitConfig config, Directory projectDir) Generates a project from the given configuration in the given directory.
-
Methodendetails
-
generate
Generates a project from the given configuration in the given directory.- Parameter:
config- the configuration for the project to generateprojectDir- the directory that will contain the new project- Seit:
- 8.12
-