plugins

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Extract :core-api project (#2719)

    • -33
    • +0
    ./PluginInstantiationException.java
  1. … 771 more files in changeset.
Enable 'html' check in Javadoc's doclint

For that, we changed the way of annotating auto tested examples

from <pre autoTested=''> to <pre class='autoTested'>.

#2553

  1. … 86 more files in changeset.
Fix Javadoc lint warnings and errors ('html' category)

This fixes all warnings and errors in the html category except for:

- error: unknown attribute: autoTested

#2553

  1. … 35 more files in changeset.
Activate Javadoc syntax check (Java 8+) and fix warnings and errors

This activates Javadoc's syntax check. Since it is not available with

Java 7, this commit does not yet activate the check on CI, where

the Javadoc is built as part of the distribution with Java 7.

#2553

  1. … 47 more files in changeset.
Replace usages of org.gradle.api.Nullable

With javax.annotation.Nullable.

  1. … 459 more files in changeset.
Can configure extensions by name

Before this commit there was no way to configure a @DeferredConfigurable

extension by name. This commit adds a method to ExtensionContainer in

this regard.

See gradle/gradle-script-kotlin#328

  1. … 2 more files in changeset.
Fully qualify `HasPublicType` javadoc reference

In order to fix checkstyle `unused import` error.

Polish `HasPublicType` mechanism and promote it to public API

  1. … 6 more files in changeset.
Allow extension public types to be specified via “type token”

and by being so, faithfully represent generic types.

  1. … 9 more files in changeset.
Refine ExtensionContainer

Less parameterized types.

Reorder new methods parameters to prevent potential conflicts.

Favor iterating over entry set for Maps.

Add some words to release notes.

  1. … 9 more files in changeset.
ExtensionContainer allows to declare extensions public type

Only extensions public types are considered with addressing them by

type.

Each ExtensionContainer exposes its “schema”: all registered extensions

types keyed by extension name.

This change is backward compatible, existing methods are unchanged and

their contract is to use the instantiated or instance extension type as

public type.

  1. … 4 more files in changeset.
Find a better home for `Usage`

  1. … 12 more files in changeset.
Add support for publishing libraries using the `maven-publish` plugin

This commit adds support for API dependencies in the generated pom file when using the `maven-publish` plugin.

It refactors the `Usage` class to make it public, and extensible by users. Then the legacy internal `Usage` class,

which was only used by the publishing plugin, has been updated to use `Usage` as a member, instead of being directly

the usage. This allows us to map configurations to usages more precisely.

- The `compile` scope of the generated pom file consists of the `api` dependencies.

- The `runtime` scope of the generated pom file consists of the old `runtime` dependencies *and* `runtimeElements` dependencies

With this setup, the new publishing plugin is now closer to the reality than the old Maven publishing plugin.

  1. … 22 more files in changeset.
Attached `@Contextual` to `PluginInstantiationException`, and added some test coverage for error reporting when a plugin cannot be instantiated.

  1. … 3 more files in changeset.
Javadocs.

  1. … 2 more files in changeset.
Fix broken link in docs

Add details about how we search for properties in ExtensionAware

Rename some plugin packages and classes.

- This will make the documentation clearer.

    • -23
    • +0
    ./repositories/GradlePluginPortal.java
    • -47
    • +0
    ./repositories/IvyPluginRepository.java
    • -47
    • +0
    ./repositories/MavenPluginRepository.java
    • -31
    • +0
    ./repositories/PluginRepository.java
  1. … 41 more files in changeset.
Make the API classes public for 2.14

    • -0
    • +57
    ./dsl/PluginRepositorySpec.java
    • -0
    • +20
    ./dsl/package-info.java
    • -0
    • +23
    ./repositories/GradlePluginPortal.java
    • -0
    • +47
    ./repositories/IvyPluginRepository.java
    • -0
    • +47
    ./repositories/MavenPluginRepository.java
    • -0
    • +31
    ./repositories/PluginRepository.java
    • -0
    • +20
    ./repositories/package-info.java
  1. … 18 more files in changeset.
Renamed src/main/groovy to src/main/java in core

    • -0
    • +70
    ./AppliedPlugin.java
    • -0
    • +32
    ./DeferredConfigurable.java
    • -0
    • +72
    ./ExtensionAware.java
    • -0
    • +107
    ./ExtensionContainer.java
    • -0
    • +181
    ./ExtraPropertiesExtension.java
    • -0
    • +33
    ./InvalidPluginException.java
    • -0
    • +73
    ./ObjectConfigurationAction.java
    • -0
    • +102
    ./PluginAware.java
    • -0
    • +63
    ./PluginCollection.java
    • -0
    • +127
    ./PluginContainer.java
    • -0
    • +31
    ./PluginInstantiationException.java
    • -0
    • +106
    ./PluginManager.java
    • -0
    • +27
    ./UnknownPluginException.java
  1. … 2531 more files in changeset.