Class ApplicationExtension


  • public class ApplicationExtension
    extends java.lang.Object
    Configures 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.String getName()  
      org.gradle.api.provider.ListProperty<java.lang.String> getOs()  
      org.gradle.api.file.RegularFileProperty getYaml()  
      void setYaml​(java.io.File file)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ApplicationExtension

        public ApplicationExtension​(java.lang.String name,
                                    org.gradle.api.model.ObjectFactory factory)
    • 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'