Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove "self-resolving" plugin resolver since injected plugins now come from included builds

  1. … 8 more files in changeset.
Introduce a `JAVA_API_JARS` usage

This commit introduces a new `JAVA_API_JARS` usage, mirror

to the `JAVA_RUNTIME_JARS` usage. This is both for consistency,

and to make sure that the `JAVA_API` and `JAVA_RUNTIME` usages

are limited to cases where the consumer doesn't care, or when

a producer doesn't have a more specific usage to provide.

This is, for example, the case for Java platforms. It's worth

noting than in case a producer mixes both "generic" usages

and "specific" usages, selection is likely to produce unexpected

results, because of disambiguation rules.

The Java disambiguation rule has been simplified and now

supports more cases.

  1. … 37 more files in changeset.
Revert "Merge pull request #6774 from gradle/eskatos/plugins/markers-metadata-only"

This reverts commit 0426976b85d5f732f43c97a97951986d5c3f74fc, reversing

changes made to 26cd8ebad223ade618f20997d6a08ef5fad4ffce.

  1. … 9 more files in changeset.
Let plugins {} block resolution fetch plugin markers only

Removing one http request for a jar artifact per resolved marker.

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 2 more files in changeset.
Support snapshot plugin versions

Using snapshot plugins previously ended up in a blocking error

with a "Plugin Repositories (snapshot plugin versions are not

supported)" message.

With this commit, it is now possible to use snapshot plugins like:

plugins {

id 'org.springframework.boot' version '2.0.0.BUILD-SNAPSHOT'

}

Fix #3902

Signed-off-by: Sebastien Deleuze <sdeleuze@pivotal.io>

  1. … 2 more files in changeset.
Cache parsing of version strings

The version parser is by far the largest contributor to garbage created during the

resolution of a large dependency graph. This commit creates a build scope version

parser which is shared and caches the result of parsing, avoiding the creation of

a significant number of arrays.

  1. … 45 more files in changeset.
Fix unit test

Fix unit tests

    • -0
    • +44
    ./use/resolve/internal/SelfResolvingRequestPluginResolverTest.groovy
  1. … 5 more files in changeset.
Restore repo URL in plugin resolution error messages

  1. … 17 more files in changeset.
pluginManagement { repositories {} } is a RepositoryHandler

Remove PluginRepositoriesSpec and related types

Remove internal PluginRepository type hierarchy

Introduce build scoped PluginDependencyResolutionServices

Introduce RepositoryHandler.gradlePluginPortal()

Plugin resolution error messages changed has they now use the regular

ArtifactRepository display name

    • -0
    • +72
    ./use/resolve/internal/ArtifactRepositoriesPluginResolverTest.groovy
  1. … 44 more files in changeset.
Remove plugin portal client

Keeping ClientStatus for use in crossVersionTests

  1. … 13 more files in changeset.
Remove support for non-legacy plugins in portal plugin resolver

They are not implemented on the portal side anyway

  1. … 7 more files in changeset.
Constructor was only used in tests

No need to have an additional constructor. Make class more readable.

  1. … 1 more file in changeset.
Split PluginRequest implementation

  1. … 11 more files in changeset.
Revert "Rename `VersionSelector` to `VersionMatcher`"

This reverts commit 5046159bfc739c3d86c59411dd4b4a1c36786b81. The Nebula resolution rules plugin makes use of internal classes,

and broke with this refactoring.

  1. … 67 more files in changeset.
Rename `VersionSelector` to `VersionMatcher`

This refactor is introduced to reduce confusion: the selector corresponds to

the requested version, which can be an exact version number, a range, or

anything else. The matchers, on the other hand, match a selector. In other

words, the selector is a specification, while the matcher does the actual

work of matching.

  1. … 69 more files in changeset.
Allow script plugins to be applied via the plugins DSL

Remote URLs are also supported:

```

plugins {

script "path/to/other.gradle"

script "https://example.com/another.gradle"

}

```

Local file paths are expressed as relative from the requesting script.

Constrain plugins {} block api to distinguish binary and script

plugin requests by both strongly modeled types and ad-hoc groovy parsing

of the plugins block. This pave the way for proper support of the

plugins {} block with the Gradle Kotlin DSL.

Implement ScriptPlugin PluginResolver by generating a synthetic

"imperative" Plugin class that loads and applies the script plugin when

applied.

This synthetic generated loader class and the script plugins are loaded

into the buildSrc classloader scope.

Only Project targets are supported.

`apply false` is not supported.

  1. … 59 more files in changeset.
Rename to xxxInternal convention

  1. … 35 more files in changeset.
Polish pluginManagement DSL

  1. … 99 more files in changeset.
Revert "Revert changes for custom plugin portal"

This reverts commit 2288791711e1f2e8edbc5af11c9348d48038f79e.

  1. … 70 more files in changeset.
Revert changes for custom plugin portal

Revert 634e8884b8c8af88de7b45400d9448dcfb7687cf - add plugin resolution improvements to release notes

Revert 7164418390ebfa366eac77a8064d94ab386b7857 - Make pluginRepositories available in init scripts

reverts commit a1f3919be2d8b18e70c9777ba768b95272a08d1c.

reverts commit e996ec71a78dfd88d43f0e9bf589ca8b29c3160c.

reverts commit 02ae8d7131ed123238eb3a6dd200dfc8e8b360f7.

reverts commit 72f57e195af6e677316252f59965c17e889bb6bf.

reverts commit 9dcc63dad116b55cb860c89e3d749d58c787fbbe.

Revert e0b7a1c9febf72f8ca8a00a9e7f68089b3cda9ce - Tests and bug fixes for custom plugin portal

reverts commit e8805c1616912322e5441016e38329e11af3ca63.

reverts commit 20b815f768dea7f3bca48664233d13174d2e0f60.

Revert 0ae9da185d0df9b5831dce48eca21118d1fac5d7 - Move PluginId to interface

Revert 52c8306d872778404cbbd117bc2214da9f76e0c1 - Public interface changes for custom plugin portal

reverts commit 27ec8f7e535778f4fbb93df09937b027ac1ca488.

Revert 1b3f52920d8bf82be470d1aa972af21af5902f32 for custom plugin portal

Revert 71d6282cecba8ac5becad3f13f29f122212c0ff2 for custom plugin portal

reverts commit 500f9a90ea1775f4b5fe02fa9122750a10e90a5c.

Revert fa2963120a9d84bc156cb7418339ffccc2f88629 for custom plugin portal

Revert 7141b00cd487e265b08aaef364477870ccb38655 for custom plugin portal

  1. … 71 more files in changeset.
Changed annotation processor detection so that it is backed by a persistent cache in addition to an in-memory cache, via `FileContentCacheFactory`.

  1. … 9 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. … 9 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. … 9 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.

  1. … 35 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.

  1. … 35 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. … 44 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. … 44 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.

  1. … 34 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.

  1. … 34 more files in changeset.