Class ApplicationExtension

java.lang.Object
io.bdeploy.gradle.extensions.ApplicationExtension

public class ApplicationExtension extends Object
Configures a single application.
  • Constructor Details

    • ApplicationExtension

      public ApplicationExtension(String name, org.gradle.api.model.ObjectFactory factory)
  • Method Details

    • getName

      public 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(File file)
    • getOs

      public org.gradle.api.provider.ListProperty<String> getOs()
      Returns:
      the list of supported operating systems. if not given, the list is inferred from the 'app-info.yaml'