internal

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove synthetic accessors for internal private symbol references

    • -1
    • +1
    ./PluginUseScriptBlockMetadataExtractor.java
  1. … 889 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -1
    • +1
    ./PluginUseScriptBlockMetadataExtractor.java
  1. … 896 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -1
    • +1
    ./PluginUseScriptBlockMetadataExtractor.java
  1. … 901 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -1
    • +1
    ./PluginUseScriptBlockMetadataExtractor.java
  1. … 901 more files in changeset.
Add missing @Override to public api types

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

  1. … 341 more files in changeset.
Fix error reporting for duplicate plugin application

Previously, when we detected a duplicate plugin application, we would

always report the location of the first plugin applied, regardless of which

plugin that was. This led to nonsensical errors about a plugin being applied

at a location that pointed to a completely different plugin.

Now, we report the location of the first application of the plugin that was

duplicated.

  1. … 1 more file in changeset.
Document `PluginRequestApplication#applyPlugins`

Limit PluginRequests instantiations & short-circuit when empty

  1. … 4 more files in changeset.
Remove types and support for org.gradle.plugin.use.PluginDependenciesSpec

  1. … 5 more files in changeset.
Remove now unused PluginRequestApplicator method

  1. … 1 more file in changeset.
Fix wrong method name in PluginRequestCollector

    • -2
    • +2
    ./PluginUseScriptBlockMetadataExtractor.java
Introduce org.plugin.dsl.*PluginDependencySpec type hierarchy

First step to rework the PluginDependencySpec type hierarchy.

New types are properly named. Old types are kept.

This step keeps the old type hierarchy working in order to keep the

Kotlin DSL working until it is updated to use the new type hierarchy.

    • -9
    • +9
    ./PluginUseScriptBlockMetadataExtractor.java
  1. … 5 more files in changeset.
Javadocs

Split PluginRequest implementation

  1. … 15 more files in changeset.
Split PluginDependencySpec implementation

PluginRequest.script is-a URI

  1. … 6 more files in changeset.
Preserve compatibility with `kotlin-dsl`

    • -6
    • +6
    ./PluginUseScriptBlockMetadataExtractor.java
  1. … 12 more files in changeset.
Replace usages of org.gradle.api.Nullable

With javax.annotation.Nullable.

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

    • -8
    • +28
    ./PluginUseScriptBlockMetadataExtractor.java
  1. … 62 more files in changeset.
Remove guava from worker process path

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

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

    • -32
    • +0
    ./InvalidPluginRequestException.java
    • -0
    • +1
    ./PluginUseScriptBlockMetadataExtractor.java
  1. … 95 more files in changeset.
Fixing tests

  1. … 4 more files in changeset.
Renamed a class, and pulled some methods around on interfaces

Also made the test require that if() { pluginManagement { } } work. The

test doesn't pass, but I should fix that soon.

  1. … 6 more files in changeset.
Reverting changes descope some changes

    • -113
    • +0
    ./DefaultConfigurablePluginRequest.java
  1. … 11 more files in changeset.
Cleaning up some things

- Removing some interfaces / classes that are kruft

- Moving the PluginRequests to be immutable

- Removing some DSL magic

    • -20
    • +21
    ./DefaultConfigurablePluginRequest.java
    • -25
    • +0
    ./InternalConfigurablePluginRequest.java
  1. … 8 more files in changeset.
Adding javadoc, fixing issues with quickCheck

    • -0
    • +112
    ./DefaultConfigurablePluginRequest.java
    • -0
    • +25
    ./InternalConfigurablePluginRequest.java
  1. … 22 more files in changeset.
Adding test for pluginManagement {}

Needs to test the rules part, but the first bit is to make sure that

anything you do in pluginRepositories also works.

This has some changes about how data gets around. There's a service

that's been registered that's responsible to make things work (and is

shared). The API makes a new object that delegates to the service. This

allows us to make it early and have everyone use the same ones.

    • -0
    • +50
    ./ConfiguredOptions.java
  1. … 18 more files in changeset.
Moving to new pluginManagement dsl

Deleting classes that aren't used anymore. Writing some tests for

parsing the PluginManagement DSL.

Still needs to validate that the change will work as expected, but this

way I can get early feedback.

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

This reverts commit 2288791711e1f2e8edbc5af11c9348d48038f79e.

    • -3
    • +5
    ./PluginUseScriptBlockMetadataExtractor.java
  1. … 66 more files in changeset.