open class InstallationExtension
The main extension of this plugin.
It provides all information for the installation process with all components and directories.
InstallationExtension(project: Project)
initialize the extension for the current project. |
val components: Set<Component>
Set of components that will be installed in the project. |
|
var environment: Set<String>
Environment configuration of the installation. This set of strings will be compared with the configuration of component items. |
|
val environmentProvider: Provider<Set<String>>
Provider for the environment configuration of the installation process. |
|
val filters: FilterContainer
This is the filter configuration container. It contains all file filter to adapt an installation. |
|
val installConfig: InstallConfiguration
The container for installation configuration. |
|
var installDir: File
Installation directory for all components. This is the root directory for all configured components. |
|
val installDirProvider: Provider<Directory>
Provider for the installation directory property. |
|
val project: Project
instance of the current project. |
fun add(component: Any): Component
Adds a dependency to the list of components. fun add(component: Any, path: String): Component
Adds a dependency to the list of components and configures the path of the component. fun add(component: Any, action: Action<in Component>): Component
Adds a dependency to the list of components. The component is configured with an action or closure. fun add(component: Any, path: String, action: Action<in Component>): Component
Adds a dependency to the list of components and configures the path of the component. The component is configured with an action or closure. |
|
fun environment(config: String): Unit
Add an environment configuration to the set of configuration strings. |
|
fun filters(action: Action<in FilterContainer>): Unit
This method configures the filter container. |
|
fun installConfig(action: Action<in InstallConfiguration>): Unit
Configures the installation configuration container. |
const val INSTALLATION_EXTENSION_NAME: String
The name of the installation extension. |