Class AppleBundleResources

  • All Implemented Interfaces:

    public abstract class AppleBundleResources
    extends Object
    implements AddsToRuleKey
    Resources to be bundled into a bundle.
    • Constructor Detail

      • AppleBundleResources

        public AppleBundleResources()
    • Method Detail

      • getResourceDirs

        public abstract<SourcePathWithAppleBundleDestination> getResourceDirs()
        Directories that should be copied into the bundle as directories of files with the same name.
      • getDirsContainingResourceDirs

        public abstract<SourcePathWithAppleBundleDestination> getDirsContainingResourceDirs()
        Directories whose contents should be copied into the root of the resources subdirectory.

        This is useful when the directory contents are not known beforehand, such as when a rule generates a directory of files.

      • getResourceFiles

        public abstract<SourcePathWithAppleBundleDestination> getResourceFiles()
        Files that are copied to the root of the resources subdirectory.
      • getResourceVariantFiles

        public abstract<SourcePath> getResourceVariantFiles()
        Resource files with localization variants.
      • getAll

        public Iterable<SourcePath> getAll()
        Returns all the SourcePaths from the different types of resources.