Interface FluxoConfigurationExtensionPublication
-
- All Implemented Interfaces:
public interface FluxoConfigurationExtensionPublication
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classFluxoConfigurationExtensionPublication.Companion
-
Method Summary
Modifier and Type Method Description abstract UnitshrinkingConfig(Function1<FluxoShrinkerConfig, Unit> configure)Allows customizing the FluxoShrinkerConfig. UnitminificationConfig(Function1<FluxoShrinkerConfig, Unit> configure)Alias for shrinkingConfig. abstract UnitpublicationConfig(Function1<FluxoPublicationConfig, Unit> configure)Reasonably configures the FluxoPublicationConfig with provided values with possibility for customization. abstract BooleangetEnablePublication()Flag to enable publication of this project. abstract UnitsetEnablePublication(Boolean enablePublication)Flag to enable publication of this project. abstract StringgetVersion()The version for publication of this project. abstract UnitsetVersion(String version)The version for publication of this project. abstract StringgetGroup()The group for publication of this project. abstract UnitsetGroup(String group)The group for publication of this project. abstract StringgetDescription()Description of this project, if any. abstract UnitsetDescription(String description)Description of this project, if any. abstract StringgetProjectName()abstract UnitsetProjectName(String projectName)abstract StringgetDefaultGitBranchName()abstract UnitsetDefaultGitBranchName(String defaultGitBranchName)abstract StringgetGithubProject()For example: namespace/name.abstract UnitsetGithubProject(String githubProject)For example: namespace/name.abstract BooleangetReproducibleArtifacts()Flag to control reproducible artifact generation. abstract UnitsetReproducibleArtifacts(Boolean reproducibleArtifacts)Flag to control reproducible artifact generation. abstract BooleangetShrinkArtifacts()Flag to enable shrinking (minification & optimization) of the artifacts. abstract UnitsetShrinkArtifacts(Boolean shrinkArtifacts)Flag to enable shrinking (minification & optimization) of the artifacts. BooleangetMinifyArtifacts()UnitsetMinifyArtifacts(Boolean minifyArtifacts)abstract FluxoShrinkerConfiggetShrinkingConfig()Config for the project artifacts shrinking. FluxoShrinkerConfiggetMinificationConfig()abstract FluxoPublicationConfiggetPublicationConfig()Config for the project artifacts publication. abstract UnitsetPublicationConfig(FluxoPublicationConfig publicationConfig)Config for the project artifacts publication. -
-
Method Detail
-
shrinkingConfig
abstract Unit shrinkingConfig(Function1<FluxoShrinkerConfig, Unit> configure)
Allows customizing the FluxoShrinkerConfig. Enables shrinking once called!
-
minificationConfig
Unit minificationConfig(Function1<FluxoShrinkerConfig, Unit> configure)
Alias for shrinkingConfig.
-
publicationConfig
abstract Unit publicationConfig(Function1<FluxoPublicationConfig, Unit> configure)
Reasonably configures the FluxoPublicationConfig with provided values with possibility for customization.
Enables publication once called!
-
getEnablePublication
abstract Boolean getEnablePublication()
Flag to enable publication of this project. Inherited from the parent project if not set.
Defaults to
trueif publicationConfig is set.
-
setEnablePublication
abstract Unit setEnablePublication(Boolean enablePublication)
Flag to enable publication of this project. Inherited from the parent project if not set.
Defaults to
trueif publicationConfig is set.
-
getVersion
abstract String getVersion()
The version for publication of this project. Inherited from the parent project if not set.
Auto set using the version names in toml version catalog:
version,versionName,app,appVersionorv.Defaults to
"unspecified".
-
setVersion
abstract Unit setVersion(String version)
The version for publication of this project. Inherited from the parent project if not set.
Auto set using the version names in toml version catalog:
version,versionName,app,appVersionorv.Defaults to
"unspecified".
-
getGroup
abstract String getGroup()
The group for publication of this project. Inherited from the parent project if not set.
Auto set using the version names in toml version catalog:
group, orpackage.Defaults to the project path with dots as separators.
-
setGroup
abstract Unit setGroup(String group)
The group for publication of this project. Inherited from the parent project if not set.
Auto set using the version names in toml version catalog:
group, orpackage.Defaults to the project path with dots as separators.
-
getDescription
abstract String getDescription()
Description of this project, if any.
-
setDescription
abstract Unit setDescription(String description)
Description of this project, if any.
-
getProjectName
abstract String getProjectName()
-
setProjectName
abstract Unit setProjectName(String projectName)
-
getDefaultGitBranchName
abstract String getDefaultGitBranchName()
-
setDefaultGitBranchName
abstract Unit setDefaultGitBranchName(String defaultGitBranchName)
-
getGithubProject
abstract String getGithubProject()
For example:
namespace/name. Don't use URLs!
-
setGithubProject
abstract Unit setGithubProject(String githubProject)
For example:
namespace/name. Don't use URLs!
-
getReproducibleArtifacts
abstract Boolean getReproducibleArtifacts()
Flag to control reproducible artifact generation.
Defaults to
true.
-
setReproducibleArtifacts
abstract Unit setReproducibleArtifacts(Boolean reproducibleArtifacts)
Flag to control reproducible artifact generation.
Defaults to
true.
-
getShrinkArtifacts
abstract Boolean getShrinkArtifacts()
Flag to enable shrinking (minification & optimization) of the artifacts.
Defaults to
false.
-
setShrinkArtifacts
abstract Unit setShrinkArtifacts(Boolean shrinkArtifacts)
Flag to enable shrinking (minification & optimization) of the artifacts.
Defaults to
false.
-
getMinifyArtifacts
Boolean getMinifyArtifacts()
-
setMinifyArtifacts
Unit setMinifyArtifacts(Boolean minifyArtifacts)
-
getShrinkingConfig
abstract FluxoShrinkerConfig getShrinkingConfig()
Config for the project artifacts shrinking. Inherited from the parent project if not set. Enables shrinking once called!
-
getMinificationConfig
FluxoShrinkerConfig getMinificationConfig()
-
getPublicationConfig
abstract FluxoPublicationConfig getPublicationConfig()
Config for the project artifacts publication.
-
setPublicationConfig
abstract Unit setPublicationConfig(FluxoPublicationConfig publicationConfig)
Config for the project artifacts publication.
-
-
-
-