Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Changed object decoration so that properties are not defined on assignment. This behaviour was deprecated.

  1. … 29 more files in changeset.
Fix generic signature.

  1. … 1 more file in changeset.
Removed deprecated ExtensionContainer.add() method.

  1. … 1 more file in changeset.
Remove unnecessary closure overload method.

  1. … 1 more file in changeset.
Added plugins.withId("pluginId") api for filtering plugins by id.

Needs review because I've used Closure type for method parameters. I've been following the pattern we already have for the PluginContainer. Can we start decorating the PluginContainer? Is it a breaking change? If so, let's do it in 2.0.

The api needs general review (e.g. return types, generic types, etc.)

  1. … 3 more files in changeset.
Moved some internal classes out of org.gradle.api.internal to live under org.gradle.internal

  1. … 91 more files in changeset.
Remove @author tags and names from source code.

- Added checkstyle check for @author

- Added not to saying that we don't use names in the codebase

  1. … 1209 more files in changeset.
GRADLE-2066: Extract PluginAware interface out of Project.

  1. … 4 more files in changeset.
REVIEW-1762: Move ExtensionContainer.getAsMap() onto an internal protocol interface

  1. … 7 more files in changeset.
REVIEW-1738: Ensure that all DeferredConfigurable extensions are configured (late) during project evaluation - Added a ProjectEvaluator that gets/configures all DeferredConfigurable extensions after the main project evaluation - Added ExtensionContainer.getAsMap() to make this easy (configure-on-access) - Wrap deferred configuration exceptions in GradleScriptException so that there's no difference between failure during regular script evaluation and deferred configuration.

  1. … 8 more files in changeset.
Use @Inherited so that @DeferredConfigurable annotation works as hoped

  1. … 1 more file in changeset.
Switched DeferredConfigurable to be an Annotation rather than and interface

  1. … 4 more files in changeset.
Added DeferredConfigurable interface for implementing extensions that don't want to handle inputs that change after configuration - extensions implementing interface will have: - all configuration actions deferred until first access to extension - no configuration actions allowed after configured on first access

    • -0
    • +41
  1. … 3 more files in changeset.
docs: replace incorrect usages of "as for" with "as per"

These two phrases are commonly confused. According to and, proper usages are:

as for: with respect to; in reference to: <As for staying away, I wouldn't think of it.>

as for: with regard to: concerning: <as for the others, they'll arrive later>; <as for the others, let them get their own dinner>

as per: according to: <as per specifications>

as per: in accordance with: according to <as per your instructions>

The common usage in Gradle JavaDocs is of the form "<some parameter> is evaluated as for <some method reference>", which should instead be "as per". Almost all instances of "as for" in the codebase are of this form. There are, however, a few instances that are legitimate usages of "as for". Those instances have not been changed.

  1. … 27 more files in changeset.

Fixed some minor javadoc issues.

  1. … 1 more file in changeset.
Remove PluginContainer.allPlugins() and TaskContainer.allTasks()

  1. … 3 more files in changeset.
Some work on the ExtensionAware javadoc.

Rename ExtensionContainer.addDecorated to .create

  1. … 19 more files in changeset.
Rename DynamicPropertiesExtension to ExtraPropertiesExtension.

    • -186
    • +0
    • -0
    • +186
  1. … 19 more files in changeset.
Issue a deprecation warning when attempting to create a dynamic property directly on an object.

This has been deprecated in favour of the dynamic properties extension. = "bar"

is now: = "bar"

  1. … 36 more files in changeset.
Improvements to the DynamicPropertiesExtension docs.

    • -13
    • +59
Rename DynamicExtension to DynamicPropertiesExtension.

    • -0
    • +130
  1. … 17 more files in changeset.
Made the dynamic extension an implicit facet of all extension containers.

Previously, it was managed by ExtensibleDynamicObject. This makes it more obvious in the documentation, among other benefits.

  1. … 4 more files in changeset.
Some work on the DynamicExtension doc, and added to the dsl ref.

  1. … 2 more files in changeset.
Remove DynamicExtension.add() and don't throw an exception when trying to assign to a property for the first time.

  1. … 7 more files in changeset.
Move dynamic extension stuff into the “plugins” namespace.

    • -0
    • +96
  1. … 16 more files in changeset.
Deprecate ExtensionContainer.add(String, Class, Object...) as it's too ambigous with add(String, Object), and added addDecorated(String, Class, Object...)

  1. … 5 more files in changeset.
Changed javadoc example to add an extension using the class generator backed way, and to show nested extensions.

Add ExtensionContainer.add(String name, Class type, Object... constructionArgs) for adding dynamic extensions.

This method is backed by the class generator and the instantiator, meaning that code like:

project.extensions.add("foo",, "bar")

can be replaced with:

project.extensions.add("foo", Foo, "bar")

  1. … 9 more files in changeset.