Table of Contents
| API Documentation: | ResourceHandler |
|---|
Provides access to resource-specific utility methods, for example factory methods that create various resources.
| Property | Description |
text | Incubating Returns a factory for creating |
| Method | Description |
bzip2(path) | Creates resource that points to a bzip2 compressed file at the given path.
The path is evaluated as per |
gzip(path) | Creates resource that points to a gzip compressed file at the given path.
The path is evaluated as per |
TextResourceFactory text (read-only)
Note: This property is incubating and may change in a future version of Gradle.
Returns a factory for creating TextResources from various sources such as
strings, files, and archive entries.
ReadableResource bzip2(Object path)
Creates resource that points to a bzip2 compressed file at the given path.
The path is evaluated as per Project.file(java.lang.Object).
ReadableResource gzip(Object path)
Creates resource that points to a gzip compressed file at the given path.
The path is evaluated as per Project.file(java.lang.Object).