plugins

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
PluginAware no longer has an internal protocol

+review REVIEW-5214

Deprecate all mutative methods of PluginContainer

+review REVIEW-5239

  1. … 2 more files in changeset.
Add PluginAware(Action).

+review REVIEW-5214

  1. … 3 more files in changeset.
Make withId(), hasPlugin() etc. work for qualified and unqualified “privileged” names regardless of how the plugin was applied.

+review REVIEW-5214

  1. … 13 more files in changeset.
Deprecate PluginContainer.apply(Class) and PluginContainer.apply(String)

+review REVIEW-5239

  1. … 101 more files in changeset.
Collapse AppliedPlugins into PluginAware.

+review REVIEW-5214

  1. … 7 more files in changeset.
Improvements to dealing with ID-less plugins and general polishing.

+review REVIEW-5214

  1. … 8 more files in changeset.
Centralise detection/handling of different types of plugins.

+review REVIEW-5214

    • -0
    • +75
    ./AppliedPlugin.java
  1. … 59 more files in changeset.
Add ability to query for plugins and rule sources by id

+review REVIEW-5214

  1. … 32 more files in changeset.
Split plugin application handling from plugin querying

+review REVIEW-5214

  1. … 27 more files in changeset.
Intorduce PluginAwareInternal and AppliedPlugins interfaces

+review REVIEW-5214

    • -0
    • +23
    ./AppliedPlugins.java
  1. … 10 more files in changeset.
Add support for applying rule sources that don't implement Plugin using id via PluginAware.apply()

+review REVIEW-5214

  1. … 34 more files in changeset.
Change: Correct some misspelling and duplicate words

  1. … 25 more files in changeset.
Improve error messages when a plugin fails to apply.

+review REVIEW-5046

    • -0
    • +30
    ./InvalidPluginException.java
  1. … 10 more files in changeset.
use link instead of code tag.

Fixed type signature.

  1. … 1 more file in changeset.
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 CONTRIBUTING.md 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
    ./DeferredConfigurable.java
  1. … 3 more files in changeset.
docs: replace incorrect usages of "as for" with "as per"

These two phrases are commonly confused. According to dictionary.com and m-w.com, 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.