internal

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix checkstyle errors

PR: 883

    • -2
    • +4
    ./PluginUseScriptBlockMetadataExtractor.java
  1. … 5 more files in changeset.
Fix checkstyle errors

PR: 883

    • -2
    • +4
    ./PluginUseScriptBlockMetadataExtractor.java
  1. … 5 more files in changeset.
Use `Serializer.equals` when comparing parameters for cache reuse (#1019)

* Add test cases for gradle/gradle#933. The focus is been put on `DefaultCacheAccess.newCache`.

* Fix gradle/gradle#933. By implementing `equals`/`hashCode` for `Serializer` and using then for cache equality.

  1. … 36 more files in changeset.
Fixing use pf PluginId when it should have been DefaultPluginId

    • -1
    • +1
    ./PluginUseScriptBlockMetadataExtractor.java
  1. … 5 more files in changeset.
Fixing use pf PluginId when it should have been DefaultPluginId

    • -1
    • +1
    ./PluginUseScriptBlockMetadataExtractor.java
  1. … 5 more files in changeset.
Moved PluginId to an interface & docs

PluginId was pulled into an interface so that we can control the

creation of those instances.

    • -0
    • +127
    ./DefaultPluginId.java
  1. … 10 more files in changeset.
Moved PluginId to an interface & docs

PluginId was pulled into an interface so that we can control the

creation of those instances.

  1. … 10 more files in changeset.
Add missing `@Override` annotations to `DefaultPluginRequest`

Removing code that should have be removed earlier

  1. … 2 more files in changeset.
Removing code that should have be removed earlier

  1. … 2 more files in changeset.
Encapsulate instantiation of DefaultPluginRequests

So `DefaultPluginRequests` doesn't have to be used by

gradle-script-kotlin.

See gradle/gradle-script-kotlin#186

    • -4
    • +2
    ./PluginUseScriptBlockMetadataExtractor.java
  1. … 2 more files in changeset.
Removing the interface and renaming impl

Removed PluginId interface and made DefaultPluginId be a class that we

share and part of the public API.

    • -2
    • +2
    ./PluginUseScriptBlockMetadataExtractor.java
  1. … 32 more files in changeset.
Removing the interface and renaming impl

Removed PluginId interface and made DefaultPluginId be a class that we

share and part of the public API.

    • -2
    • +2
    ./PluginUseScriptBlockMetadataExtractor.java
  1. … 32 more files in changeset.
Refactored names of classes, and finished up api

- Moved PluginRequest to InternalPluginRequest

- Created PluginRequest that InternalPluginRequest extends

- Made the code compile for RuleBasedPluginRepository

  1. … 42 more files in changeset.
Refactored names of classes, and finished up api

- Moved PluginRequest to InternalPluginRequest

- Created PluginRequest that InternalPluginRequest extends

- Made the code compile for RuleBasedPluginRepository

    • -0
    • +37
    ./InternalPluginRequest.java
  1. … 42 more files in changeset.
Working on the changes per Stefan's request.

Moving PluginId to be a public Interface, and then created an

implementation called DefaultPluginId

Added the first phase of interfaces (inside the class, will move out

later) so that I can start working on the API under the hood.

    • -2
    • +2
    ./PluginUseScriptBlockMetadataExtractor.java
  1. … 31 more files in changeset.
Working on the changes per Stefan's request.

Moving PluginId to be a public Interface, and then created an

implementation called DefaultPluginId

Added the first phase of interfaces (inside the class, will move out

later) so that I can start working on the API under the hood.

    • -2
    • +2
    ./PluginUseScriptBlockMetadataExtractor.java
  1. … 31 more files in changeset.
Update javadoc to link to the right class

Revert "Temporarily reverting everything since 810f052813ea0835dc7e9d3eb87bca005815db64 for 3.0-milestone-1 release"

This reverts commit 506f8ce9d6dc1a81e8ff10575c512778ca2f382a.

    • -32
    • +34
    ./PluginUseScriptBlockMetadataExtractor.java
  1. … 195 more files in changeset.
Temporarily reverting everything since 810f052813ea0835dc7e9d3eb87bca005815db64 for 3.0-milestone-1 release

    • -34
    • +32
    ./PluginUseScriptBlockMetadataExtractor.java
  1. … 195 more files in changeset.
Add `apply false` option to `plugins` block

This solves two use cases at once:

- only using some classes from a plugin without applying it

- applying a plugin to sub-projects without applying it to the root project

    • -32
    • +34
    ./PluginUseScriptBlockMetadataExtractor.java
  1. … 14 more files in changeset.
Revert plugins.subprojects syntax, as we are considering another solution

    • -0
    • +164
    ./PluginUseScriptBlockMetadataExtractor.java
    • -104
    • +0
    ./ProjectPluginRequestCollector.java
  1. … 29 more files in changeset.
Allow applying plugins to subprojects using new DSL

This change adds new `subprojects` and `allprojects` methods to the `plugins`

DSL, which allow users to apply plugins to multiple subprojects at once.

The plugins are resolved in the context of the parent project and put on

the parent's classpath. This ensures that the parent can cross-configure its

children. A side-effect is that unrelated subprojects will see those plugin

classes too, even though they are not applied to them.

The `plugins` block is no longer backed by an AST transformation, but is

now compiled, exactly like the `buildscript` and `pluginRepositories` blocks.

This will give users greater flexibility to conditionally apply plugins in the

future. Currently no access is granted to any methods outside of the `plugins`

API though.

    • -0
    • +37
    ./EmptyPluginRequestCollector.java
    • -164
    • +0
    ./PluginUseScriptBlockMetadataExtractor.java
    • -0
    • +104
    ./ProjectPluginRequestCollector.java
    • -0
    • +38
    ./TargetedPluginRequest.java
  1. … 30 more files in changeset.
Renamed src/main/groovy to src/main/java in core

    • -0
    • +106
    ./DefaultPluginRequest.java
    • -0
    • +44
    ./DefaultPluginRequests.java
    • -0
    • +33
    ./InjectedPluginClasspath.java
    • -0
    • +32
    ./InvalidPluginRequestException.java
    • -0
    • +34
    ./PluginRequest.java
    • -0
    • +26
    ./PluginRequestApplicator.java
    • -0
    • +101
    ./PluginRequestCollector.java
    • -0
    • +24
    ./PluginRequests.java
    • -0
    • +53
    ./PluginRequestsSerializer.java
    • -0
    • +164
    ./PluginUseScriptBlockMetadataExtractor.java
  1. … 2536 more files in changeset.