PomProjectInitDescriptor.groovy

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
implement support for init type modifiers

By default types do not support additional modifiers (and will fail with

an error message). However to support init modifiers the type

ProjectInitDescriptor implementation class simply needs to override the

withModifiers method and add handling logic in the generate method.

Currently only the java-library type supports init modifiers (spock).

  1. … 6 more files in changeset.
REVIEW-3373: Add back BuildTypeID specific ProjectInitDescriptors

- ProjectDescriptorRegistryFactory should not now about InitDescriptor details. Moved the details into the BuildType related ProjectInitDescriptor

- moved lot of production code related to ProjectInitDescriptors from groovy to java

- didn't merge the ProjectInitDescriptor and TemplateOperation but ProjectInitDescriptor now extends TemplateOperation. feels more natural to me than merging them into one interface

- added back languageProjectInitDescriptor for dealing with basic language related ProjectInitDescriptors

  1. … 20 more files in changeset.
Some changes on build init types based on REVIEW-3243 - start composing different init descriptors - seperate init ids from descriptors - move file generation into seperate util class for better testing

  1. … 17 more files in changeset.
Some more renamings in former build-setup subproject - rename build-setup plugin to build-init - rename ProjectSetupDescriptor interface to ProjectInitDescriptor - renamed buildSetup gradle subproject to buildInit

    • -0
    • +51
    ./PomProjectInitDescriptor.groovy
  1. … 195 more files in changeset.