Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Support optional projects in classpath manifests

  1. … 1 more file in changeset.
Add opt-in for Gradle Plugin Portal

If the user specifies any pluginRepositories, the Plugin Portal is now

deactivated by default. It can be added with an explicit method call.

  1. … 7 more files in changeset.
Polish BuildScopeServices

  1. … 1 more file in changeset.
Added back an old class that is exposed in the bytecode of compiled tasks.

    • -0
    • +1
    ./gradle/api/internal/AbstractPolymorphicDomainObjectContainer.java
    • -0
    • +26
    ./gradle/api/internal/DynamicObject.java
Moved classes related to dispatching property and method requests to live in their own package.

    • -198
    • +0
    ./gradle/api/internal/AbstractDynamicObject.java
    • -2
    • +3
    ./gradle/api/internal/AbstractPolymorphicDomainObjectContainer.java
    • -0
    • +1
    ./gradle/api/internal/AbstractTask.java
    • -117
    • +0
    ./gradle/api/internal/CompositeDynamicObject.java
    • -95
    • +0
    ./gradle/api/internal/DynamicObject.java
  1. … 35 more files in changeset.
Fixed missing property exception thrown by `ConfigureUtil.configureByMap()`

Reverted change to expose the target container to named object container configure closures, to switch back to exposing the `ConfigureDelegate` wrapper instead.

Make this change in Gradle 3.0 instead.

  1. … 2 more files in changeset.
Use the correct owner for configuration closures.

Improve property and method lookup from some configuration closures, by short-circuiting the inefficient lookup in `Closure` and reusing the lookup in `ConfigureDelegate` instead.

Currently this improvement is applied only in a few places in the DSL, in particular when configuring any named container (but not its elements). A later change will roll this out more widely.

This change also removed duplicate property and method lookup on the owner object for these closures, improves error reporting on missing property or method so that the actual target of the configure closure is reported, and also cleans up the closure parameter and closure.delegate objects that are visible to the closure body so that they are always the target object.

    • -1
    • +1
    ./gradle/api/internal/AbstractPolymorphicDomainObjectContainer.java
    • -1
    • +1
    ./gradle/api/internal/AbstractTask.java
    • -35
    • +15
    ./gradle/util/ConfigureUtil.java
  1. … 6 more files in changeset.
Simplified the interaction between `ConfigureDelegate` and its subclasses, and improved the 'missing property' and 'missing method' exceptions thrown by `ConfigureDelegate`.

    • -0
    • +15
    ./gradle/api/internal/DynamicObject.java
    • -0
    • +16
    ./gradle/api/internal/ExtensibleDynamicObject.java
    • -6
    • +5
    ./gradle/api/internal/NamedDomainObjectContainerConfigureDelegate.java
    • -13
    • +8
    ./gradle/api/internal/PolymorphicDomainObjectContainerConfigureDelegate.java
Fix TaskStateInternal's description

    • -1
    • +1
    ./gradle/api/internal/AbstractTask.java
  1. … 1 more file in changeset.
Simplify FileNormaliser

  1. … 1 more file in changeset.
Cache AbstractProject.getBuildDir()

Use a shared constructor cache for all dependency injecting class generators

+review REVIEW-5921

  1. … 5 more files in changeset.
Eliminate OperatingSystem.current calls in FileNormaliser.normalise

- OperatingSystem.current() is an expensive call and should be

avoided

Get rid of String.format call in DefaultTaskOutputs constructor

Add support for Ivy plugin Repositories.

  1. … 7 more files in changeset.
Improve normalising check

  1. … 1 more file in changeset.
Refactor to improve clarity

Use StringUtils.split for splitting

Extract FileNormaliser from AbstractFileResolver

    • -0
    • +122
    ./gradle/api/internal/file/FileNormaliser.java
Changed `ConfigureUtil.configureByMap()` to avoid using exceptions for flow control.

    • -12
    • +12
    ./gradle/util/ConfigureUtil.java
  1. … 1 more file in changeset.
Pulled up a `toString()` implementation.

Code cleanup: AbstractTask

- Removed unused setProject() and setName() methods

- Made fields final where possible

    • -19
    • +11
    ./gradle/api/internal/AbstractTask.java
Use new DynamicObject methods in ConfigureDelegate

Improve path splitting

Convert ModuleFactoryDelegate to java

Optimize AbstractFileResolver

Replace String.split with more efficient StringUtils.split

- String.split calls Pattern.compile internally and uses a regex

Fix order of lookups when method is a closure

    • -11
    • +12
    ./gradle/api/internal/CompositeDynamicObject.java
  1. … 1 more file in changeset.