resources

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Improve advice for dealing with insecure HTTP script plugins

  1. … 6 more files in changeset.
Make DefaultResourceHandler.Factory an interface we can stub out in workers

  1. … 4 more files in changeset.
Refactor HTTP deprecation logic to use HttpRedirectVerifier

  1. … 58 more files in changeset.
Revert "Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'""

This reverts commit 0625bc7420e55e87730673231af6ad45dd04f47a.

  1. … 89 more files in changeset.
Revert "Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'""

This reverts commit 0625bc7420e55e87730673231af6ad45dd04f47a.

  1. … 89 more files in changeset.
Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'"

This reverts commit 2f79026f5e127a8175e25844522237615b19ed52 because of a performance regression,

reversing changes made to 7f1e66079ce629ecde3e09e549e9796ab85761dc.

  1. … 89 more files in changeset.
Add deprecation warnings specific for the use case

  1. … 1 more file in changeset.
Move validation closer to the site of use

  1. … 6 more files in changeset.
Move validation closer to the site of use

  1. … 8 more files in changeset.
Remove TextResourceLoader.Factory

  1. … 30 more files in changeset.
Fix the naming of allowInsecureProtocol to use set & hide override API

  1. … 11 more files in changeset.
Cleanup some unnessasary changes after depricate http changes

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com>

  1. … 10 more files in changeset.
Extract anonymous classes to static inner classes

    • -22
    • +34
    ./FileCollectionBackedArchiveTextResource.java
  1. … 145 more files in changeset.
Extract anonymous classes to static inner classes

    • -22
    • +34
    ./FileCollectionBackedArchiveTextResource.java
  1. … 145 more files in changeset.
Extract anonymous classes to static inner classes

    • -22
    • +34
    ./FileCollectionBackedArchiveTextResource.java
  1. … 145 more files in changeset.
Extract anonymous classes to static inner classes

    • -22
    • +34
    ./FileCollectionBackedArchiveTextResource.java
  1. … 145 more files in changeset.
Extract anonymous classes to static inner classes

    • -22
    • +34
    ./FileCollectionBackedArchiveTextResource.java
  1. … 146 more files in changeset.
Fix compilation errors introduced by TextUrlResource.Factory change

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com>

  1. … 11 more files in changeset.
Add missing @Override to public api types

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +7
    ./FileCollectionBackedTextResource.java
  1. … 339 more files in changeset.
Deprecate download of resources over HTTP; Require opt-in

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com>

  1. … 52 more files in changeset.
Remove fileSystem from FileLookup

  1. … 14 more files in changeset.
Change some `FileCollection` construction in various core services to delegate to `FileCollectionFactory`. Also merge some `FileCollection` implementations that do the same thing.

  1. … 14 more files in changeset.
Change some `FileCollection` construction in various core services to delegate to `FileCollectionFactory`. Also merge some `FileCollection` implementations that do the same thing.

  1. … 14 more files in changeset.
Move file collection APIs out of core (#6525)

This change breaks out code that directly relates to handling `FileCollection`s and their build dependencies (called `TaskDependency` at this time) into a separate subproject (`:files`). This is so that other modules can build on just this module instead of having to depend on the oversized `:core`.

As part of the change `Provider`s have been moved to `:base-services`. In a possible followup step `:base-services` could be split into a module that captures the very basic concepts of Gradle's data model: it's all about `DomainObjectCollection`s that can be configured via `Action`s, transformed via `Transformer`s, lazyness can be provided via `Provider`s and rich mutable data types can be created via `Property` objects.

Another addition to `:base-serivces` is the directed graph traversal algorithms used in many parts of Gradle.

    • -0
    • +41
    ./DefaultResourceResolver.java
    • -0
    • +23
    ./ResourceResolver.java
  1. … 437 more files in changeset.
Use immutable file collections whenever possible (#5797)

- Stop DefaultProject implementing FileOperations/ProcessOperations

- Stop BasicScript implementing FileOperations/ProcessOperations

- FileResovler.resolveUri() is not nullable

  1. … 37 more files in changeset.
Add support for URI-backed text resources

This can be used to point tasks like Checkstyle

to a remote, shared configuration file without

having to package it into an archive and using

dependency resolution.

The implementation reuses the same caching logic

we have for remote build scripts.

    • -0
    • +124
    ./ApiTextResourceAdapter.java
  1. … 18 more files in changeset.
Re-use `TaskDependencyResolveContext` during task graph building (#3807)

All dependency resolution in Gradle should happen via TaskDependencyResolveContext during when building the task graph. Calling `DefaultTaskDependency.getDependencies(task)` should be avoided since it creates a new `TaskDependencyResolveContext` and needs to calculate the dependencies again.

`SkipTaskWithNoActionsExecuter` now re-uses the `TaskExecutionGraph` to determine the dependencies of a task instead of re-evaluating them.

After this commit, the task properties are resolved at three places:

- When building the task graph for walking the input files

- When checking if there a task can be executed in parallel with the currently running tasks based on on the declared outputs, destroyables and task local state

- For using the task properties during task execution

The last two places could still be unified into one, but that seems to be a little bit more complicated.

  1. … 23 more files in changeset.
Added `TaskDependencies` to add some utilities for creating `TaskDependency` instances.

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

    • -0
    • +99
    ./CharSourceBackedTextResource.java
    • -0
    • +47
    ./DefaultResourceHandler.java
    • -0
    • +55
    ./DefaultTextResourceFactory.java
    • -0
    • +58
    ./FileCollectionBackedArchiveTextResource.java
    • -0
    • +108
    ./FileCollectionBackedTextResource.java
    • -0
    • +84
    ./StringBackedTextResource.java
  1. … 2539 more files in changeset.