# Package-level declarations

Interfaces and API for the 'Resources' concept.

## Types

MissingResourceException
Link copied to clipboard
open class MissingResourceException : ResourceException
Exception thrown when the resource does not exist
ReadableResource
Link copied to clipboard
interface ReadableResource : Resource
A resource that can be read.
Resource
Link copied to clipboard
interface Resource
A generic resource of some kind.
ResourceException
Link copied to clipboard
open class ResourceException : GradleException
Generic resource exception that all other resource-related exceptions inherit from.
ResourceHandler
Link copied to clipboard
interface ResourceHandler
Provides access to resource-specific utility methods, for example factory methods that create various resources.
TextResource
Link copied to clipboard
interface TextResource : Buildable
A read-only body of text backed by a string, file, archive entry, or other source.
TextResourceFactory
Link copied to clipboard
interface TextResourceFactory
Creates `TextResource`s backed by sources such as strings, files, and archive entries.