resources

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Ignore displayName property for TextResource

Extract :core-api project (#2719)

  1. … 780 more files in changeset.
Enable 'html' check in Javadoc's doclint

For that, we changed the way of annotating auto tested examples

from <pre autoTested=''> to <pre class='autoTested'>.

#2553

  1. … 88 more files in changeset.
Merged the file resource implementation for the public `Resource` API into the file resource implementation for `ExternalResource` used by dependency resolution and publishing. This is a small step towards merging and reusing all the various resource implementations.

    • -0
    • +65
    ./internal/LocalResourceAdapter.java
  1. … 30 more files in changeset.
Rename org.gradle{.api.resources -> }.normalization

+review REVIEW-6540

    • -30
    • +0
    ./normalization/InputNormalization.java
    • -42
    • +0
    ./normalization/InputNormalizationHandler.java
    • -34
    • +0
    ./normalization/RuntimeClasspathNormalization.java
    • -51
    • +0
    ./normalization/internal/DefaultInputNormalizationHandler.java
    • -43
    • +0
    ./normalization/internal/DefaultRuntimeClasspathNormalization.java
    • -23
    • +0
    ./normalization/internal/InputNormalizationHandlerInternal.java
    • -37
    • +0
    ./normalization/internal/InputNormalizationStrategy.java
    • -23
    • +0
    ./normalization/internal/RuntimeClasspathNormalizationInternal.java
    • -38
    • +0
    ./normalization/internal/RuntimeClasspathNormalizationStrategy.java
  1. … 40 more files in changeset.
Rename ResourceNormalization to InputNormalization

+review REVIEW-6540

    • -0
    • +30
    ./normalization/InputNormalization.java
    • -0
    • +42
    ./normalization/InputNormalizationHandler.java
    • -30
    • +0
    ./normalization/ResourceNormalization.java
    • -42
    • +0
    ./normalization/ResourceNormalizationHandler.java
    • -3
    • +3
    ./normalization/RuntimeClasspathNormalization.java
    • -0
    • +51
    ./normalization/internal/DefaultInputNormalizationHandler.java
    • -51
    • +0
    ./normalization/internal/DefaultResourceNormalizationHandler.java
    • -0
    • +23
    ./normalization/internal/InputNormalizationHandlerInternal.java
    • -0
    • +37
    ./normalization/internal/InputNormalizationStrategy.java
    • -23
    • +0
    ./normalization/internal/ResourceNormalizationHandlerInternal.java
    • -37
    • +0
    ./normalization/internal/ResourceNormalizationStrategy.java
  1. … 31 more files in changeset.
Add incubating to normalization package

+review REVIEW-6529

Remove `@Incubating` on package resources

We only annotate types and methods.

+review REVIEW-6529

Polish resource normalization implementation

+review REVIEW-6250

    • -7
    • +7
    ./normalization/internal/DefaultResourceNormalizationHandler.java
    • -2
    • +2
    ./normalization/internal/DefaultRuntimeClasspathNormalization.java
    • -1
    • +1
    ./normalization/internal/ResourceNormalizationHandlerInternal.java
    • -37
    • +0
    ./normalization/internal/ResourceNormalizationStrategies.java
    • -0
    • +37
    ./normalization/internal/ResourceNormalizationStrategy.java
    • -7
    • +9
    ./normalization/internal/RuntimeClasspathNormalizationStrategy.java
  1. … 21 more files in changeset.
Pass immutable normalization strategies object

Instead of passing around the mutable configuration for resource

normalization we create an immutable container for the

normalization strategies and use this instead.

+review REVIEW-6520

    • -0
    • +30
    ./normalization/ResourceNormalization.java
    • -4
    • +6
    ./normalization/ResourceNormalizationHandler.java
    • -30
    • +0
    ./normalization/ResourceNormalizationStrategy.java
    • -0
    • +34
    ./normalization/RuntimeClasspathNormalization.java
    • -34
    • +0
    ./normalization/RuntimeClasspathNormalizationStrategy.java
    • -7
    • +19
    ./normalization/internal/DefaultResourceNormalizationHandler.java
    • -0
    • +43
    ./normalization/internal/DefaultRuntimeClasspathNormalization.java
    • -48
    • +0
    ./normalization/internal/DefaultRuntimeClasspathNormalizationStrategy.java
    • -0
    • +23
    ./normalization/internal/ResourceNormalizationHandlerInternal.java
    • -0
    • +37
    ./normalization/internal/ResourceNormalizationStrategies.java
    • -0
    • +23
    ./normalization/internal/RuntimeClasspathNormalizationInternal.java
    • -0
    • +36
    ./normalization/internal/RuntimeClasspathNormalizationStrategy.java
    • -24
    • +0
    ./normalization/internal/RuntimeClasspathNormalizationStrategyInternal.java
  1. … 23 more files in changeset.
Remove MetadataFilter

+review REVIEW-6520

    • -8
    • +7
    ./normalization/internal/DefaultRuntimeClasspathNormalizationStrategy.java
    • -2
    • +2
    ./normalization/internal/RuntimeClasspathNormalizationStrategyInternal.java
  1. … 9 more files in changeset.
Add missing @since Javadoc for normalization API

    • -0
    • +4
    ./normalization/ResourceNormalizationHandler.java
    • -0
    • +5
    ./normalization/ResourceNormalizationStrategy.java
    • -0
    • +2
    ./normalization/RuntimeClasspathNormalizationStrategy.java
  1. … 1 more file in changeset.
Rename NormalizationStrategy -> ResourceNormalizationStrategy

    • -25
    • +0
    ./normalization/NormalizationStrategy.java
    • -0
    • +25
    ./normalization/ResourceNormalizationStrategy.java
    • -1
    • +1
    ./normalization/RuntimeClasspathNormalizationStrategy.java
Polish integration test

    • -1
    • +1
    ./normalization/internal/DefaultRuntimeClasspathNormalizationStrategy.java
  1. … 2 more files in changeset.
Make normalization immutable after first use

Runtime classpath normalization is now effectively immutable after first

usage.

    • -4
    • +17
    ./normalization/internal/DefaultRuntimeClasspathNormalizationStrategy.java
    • -3
    • +2
    ./normalization/internal/RuntimeClasspathNormalizationStrategyInternal.java
  1. … 3 more files in changeset.
Calculate cache key based on implementation

This fixes caching if the normalization configuration differs between

projects.

    • -10
    • +2
    ./normalization/internal/DefaultRuntimeClasspathNormalizationStrategy.java
    • -3
    • +1
    ./normalization/internal/RuntimeClasspathNormalizationStrategyInternal.java
  1. … 7 more files in changeset.
Can ignore files in directories

    • -0
    • +25
    ./normalization/NormalizationStrategy.java
    • -0
    • +36
    ./normalization/ResourceNormalizationHandler.java
    • -0
    • +32
    ./normalization/RuntimeClasspathNormalizationStrategy.java
    • -0
    • +39
    ./normalization/internal/DefaultResourceNormalizationHandler.java
    • -0
    • +44
    ./normalization/internal/DefaultRuntimeClasspathNormalizationStrategy.java
    • -0
    • +27
    ./normalization/internal/RuntimeClasspathNormalizationStrategyInternal.java
    • -0
    • +20
    ./normalization/package-info.java
  1. … 26 more files in changeset.
Ignore path of TextResource files

It should not count where the contents of a TextResource come from: that's the point of the abstraction. Reflect this in the way we treat their `inputFiles` property.

+review REVIEW-6321

  1. … 2 more files in changeset.
Annotate more task properties

Part of this is fixing missing annotations. Part is applying the new

`@Console` and `@Internal` annotations where appropriate.

+review REVIEW-5932

  1. … 80 more files in changeset.
Revert "Annotate more task properties"

This reverts commit 4b32689375b46bb01ace46d5255118683c7c13ed.

  1. … 68 more files in changeset.
Annotate more task properties

Part of this is fixing missing annotations. Part is applying the new

`@Console` and `@Internal` annotations where appropriate.

+review REVIEW-5932

  1. … 68 more files in changeset.
Renamed src/main/groovy to src/main/java in core

    • -0
    • +34
    ./ReadableResource.java
    • -0
    • +52
    ./ResourceHandler.java
    • -0
    • +88
    ./TextResourceFactory.java
    • -0
    • +26
    ./internal/ReadableResourceInternal.java
    • -0
    • +23
    ./internal/TextResourceInternal.java
  1. … 2538 more files in changeset.