Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move most of org.gradle.internal.reflect to modelCore

The JavaMethod and DirectInstantiator classes are used by the service

and classloading infrastructure in `baseServices`, so I would leave

them there for now.

  1. … 63 more files in changeset.
Moved a bunch of dynamic object related types baseServicesGroovy to live in modelCore.

    • -195
    • +0
    ./metaobject/AbstractDynamicObject.java
    • -656
    • +0
    ./metaobject/BeanDynamicObject.java
    • -105
    • +0
    ./metaobject/CompositeDynamicObject.java
    • -135
    • +0
    ./metaobject/ConfigureDelegate.java
    • -54
    • +0
    ./metaobject/DynamicInvokeResult.java
    • -51
    • +0
    ./metaobject/MixInClosurePropertiesAsMethodsDynamicObject.java
  1. … 55 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
    • +195
    ./metaobject/AbstractDynamicObject.java
    • -0
    • +656
    ./metaobject/BeanDynamicObject.java
    • -0
    • +105
    ./metaobject/CompositeDynamicObject.java
    • -0
    • +135
    ./metaobject/ConfigureDelegate.java
    • -0
    • +54
    ./metaobject/DynamicInvokeResult.java
    • -0
    • +58
    ./metaobject/DynamicObject.java
    • -0
    • +34
    ./metaobject/MethodAccess.java
    • -0
    • +26
    ./metaobject/MethodMixIn.java
    • -0
    • +51
    ./metaobject/MixInClosurePropertiesAsMethodsDynamicObject.java
    • -0
    • +49
    ./metaobject/PropertyAccess.java
    • -0
    • +26
    ./metaobject/PropertyMixIn.java
  1. … 433 more files in changeset.
Replace usages of org.gradle.api.Nullable

With javax.annotation.Nullable.

  1. … 460 more files in changeset.
Revert "Move type hierarchy walker to `base-services`"

This reverts commit 232e5444b7c535cba2bd0c7e82b48943413ed4bc.

    • -62
    • +0
    ./reflect/GroovyReflectionUtil.java
  1. … 6 more files in changeset.
Move type hierarchy walker to `base-services`

We'll need it in other places, too.

+review REVIEW-5989

    • -0
    • +62
    ./reflect/GroovyReflectionUtil.java
  1. … 6 more files in changeset.
Moved `isObjectMethod()` to `base-services`

We are going to use this from outside `model-core`.

    • -0
    • +53
    ./reflect/GroovyMethods.java
  1. … 2 more files in changeset.