public class CreateCartridgeList
This task creates a cartridge list properties file from a template file.
@NotNull public static java.lang.String DEFAULT_NAME
@NotNull public static java.lang.String CARTRIDGE_LIST
public static com.intershop.gradle.icm.tasks.CreateCartridgeList.Companion Companion
@Inject
public CreateCartridgeList(@NotNull
org.gradle.api.file.ProjectLayout projectLayout,
@NotNull
org.gradle.api.model.ObjectFactory objectFactory)
This task creates a cartridge list properties file from a template file.
@OutputFile @NotNull public org.gradle.api.file.RegularFileProperty getOutputFile()
Output file for generated cluster id.
@InputFile @NotNull public org.gradle.api.file.RegularFileProperty getTemplateFile()
Input template file with all cartridges.
public void includes(@NotNull
org.gradle.api.provider.Provider<java.util.List> provider)
Set provider for includes matches.
provider - list of includes matches.@Input @NotNull public org.gradle.api.provider.ListProperty<java.lang.String> getIncludes()
This list contains includes for cartridge list.
public void setIncludes(@NotNull
org.gradle.api.provider.ListProperty<java.lang.String> p)
This list contains includes for cartridge list.
public void include(@NotNull
java.lang.Object... params)
Add includes matches to the list of includes.
params - includes matchespublic void excludes(@NotNull
org.gradle.api.provider.Provider<java.util.List> provider)
Set provider for excludes matches.
provider - list of includes matches.@Input @NotNull public org.gradle.api.provider.ListProperty<java.lang.String> getExcludes()
This list contains excludes for cartridge list.
public void setExcludes(@NotNull
org.gradle.api.provider.ListProperty<java.lang.String> p)
This list contains excludes for cartridge list.
public void exclude(@NotNull
java.lang.Object... params)
Add excludes matches to the list of excludes.
params - includes matchespublic void createCartridgeList()
This function represents the logic of this task.