ArtifactRepositoryPluginResolverTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Refactored names of classes, and finished up api

- Moved PluginRequest to InternalPluginRequest

- Created PluginRequest that InternalPluginRequest extends

- Made the code compile for RuleBasedPluginRepository

    • -2
    • +2
    ./ArtifactRepositoryPluginResolverTest.groovy
  1. … 49 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

    • -2
    • +2
    ./ArtifactRepositoryPluginResolverTest.groovy
  1. … 49 more files in changeset.
Revert "Temporarily reverting everything since 810f052813ea0835dc7e9d3eb87bca005815db64 for 3.0-milestone-1 release"

This reverts commit 506f8ce9d6dc1a81e8ff10575c512778ca2f382a.

    • -1
    • +1
    ./ArtifactRepositoryPluginResolverTest.groovy
  1. … 199 more files in changeset.
Temporarily reverting everything since 810f052813ea0835dc7e9d3eb87bca005815db64 for 3.0-milestone-1 release

    • -1
    • +1
    ./ArtifactRepositoryPluginResolverTest.groovy
  1. … 199 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

    • -1
    • +1
    ./ArtifactRepositoryPluginResolverTest.groovy
  1. … 18 more files in changeset.
Revert plugins.subprojects syntax, as we are considering another solution

    • -2
    • +2
    ./ArtifactRepositoryPluginResolverTest.groovy
  1. … 37 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.

    • -2
    • +2
    ./ArtifactRepositoryPluginResolverTest.groovy
  1. … 38 more files in changeset.
Give plugin artifact repositories more unique names

    • -5
    • +1
    ./ArtifactRepositoryPluginResolverTest.groovy
  1. … 2 more files in changeset.
Allow multiple plugin repositories

    • -0
    • +63
    ./ArtifactRepositoryPluginResolverTest.groovy
  1. … 13 more files in changeset.