Package io.bdeploy.gradle.extensions
Class ApplicationExtension
- java.lang.Object
-
- io.bdeploy.gradle.extensions.ApplicationExtension
-
public class ApplicationExtension extends java.lang.ObjectConfigures a single application.
-
-
Constructor Summary
Constructors Constructor Description ApplicationExtension(java.lang.String name, org.gradle.api.model.ObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()org.gradle.api.provider.ListProperty<java.lang.String>getOs()org.gradle.api.file.RegularFilePropertygetYaml()voidsetYaml(java.io.File file)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Returns:
- the name of the application as specified in the 'product-info.yaml'
-
getYaml
public org.gradle.api.file.RegularFileProperty getYaml()
- Returns:
- the path to the 'app-info.yaml'. The 'app-info.yaml' is assumed to be placed in the root directory of the binaries for the specified application.
-
setYaml
public void setYaml(java.io.File file)
-
getOs
public org.gradle.api.provider.ListProperty<java.lang.String> getOs()
- Returns:
- the list of supported operating systems. if not given, the list is inferred from the 'app-info.yaml'
-
-