Schnittstelle BuildInitGenerator


@Incubating public interface BuildInitGenerator
Generates a new project from a configured BuildInitConfig.
Seit:
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.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    generate(BuildInitConfig config, Directory projectDir)
    Generates a project from the given configuration in the given directory.
  • Methodendetails

    • generate

      void generate(BuildInitConfig config, Directory projectDir)
      Generates a project from the given configuration in the given directory.
      Parameter:
      config - the configuration for the project to generate
      projectDir - the directory that will contain the new project
      Seit:
      8.12