Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use real sample title to improve GitHub rendering

Move Java samples first

Fix exemplar tests

The sample plugin had an issue with exemplar for generated content. This

commit upgrade to bug fixed sample plugin and add the additional

configuration for correctly dealing with generated content.

Add Spring Boot application sample

    • -0
    • +38
    /subprojects/docs/src/samples/next-gen/spring-boot/README.adoc
    • -0
    • +10
    /subprojects/docs/src/samples/next-gen/spring-boot/testTask.out
Add Spring Boot application sample

Remove all logic from CaseSensitivity

Remove all logic from CaseSensitivity

Revert "Allow publication artifacts to be defined as files through providers (#11329)"

This reverts commit a4b79f33fee015bb5faded27426369ad54bae8dd.

Make query methods for deprecation state of core configurations public

This is to allow plugin authors to make use of this information.

The methods to actually deprecate configurations stay internal,

as they are bound to the deprecation mechanism of Gradle core.

And thus they may only be used for configurations of Gradle's core

plugins.

Make query methods for deprecation state of core configurations public

This is to allow plugin authors to make use of this information.

The methods to actually deprecate configurations stay internal,

as they are bound to the deprecation mechanism of Gradle core.

And thus they may only be used for configurations of Gradle's core

plugins.

Add [Fails|Ignore]WithInstantExecution Rules to AbstractIntegrationSpec

in order to apply to JUnit rules used in Spock tests such as HttpServer

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

Introduce global Spock rule to work around bug with JUnit rule ordering

See https://github.com/spockframework/spock/issues/1050

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

Allow publication artifacts to be defined as files through providers (#11329)

This used to work in Gradle 5.5 (see #11054).

The combination of #9467 and #6775 broke this.

A builtBy dependency is added if the artifact is a TaskDependencyContainer,

which all Providers are (#9467). This dependency was silently doing

nothing in case of a plain File/String. This became an error (#6775)

because a File/String is nothing that can be resolved to a task.

We now only add a builtBy dependency, if the provider value or content is

actually produced by a task.

Add test coverage for accessing gradle.properties entries in buildSrc and in included builds

Test Gradle properties

Add test coverage for accessing gradle.properties entries in buildSrc and in included builds

Register implicit capabilities for conflict detection in more cases

In general conflict detection for implicit capabilities is skipped

for performance optimization. However, if the corresponding capability

is explicitly declared by another component that was visited *before*,

we need to do the conflict detection between the component with

the implicit capability and the one visited earlier.

Add test case to reproduce #11300

Add integration test for #11330

Fix Android not compiling the necessary classes

The method `fun getSources(): FileTree` does not override the method

`protected FileCollection getSources()`, since the AGP plugin 3.5.1 has

not been compiled against Gradle 6.0, and therefore the necessary bridge

method is not generated.

Fix Android not compiling the necessary classes

The method `fun getSources(): FileTree` does not override the method

`protected FileCollection getSources()`, since the AGP plugin 3.5.1 has

not been compiled against Gradle 6.0, and therefore the necessary bridge

method is not generated.

Allow publication artifacts to be defined as files through providers

This used to work in Gradle 5.5 (see #11054).

The combination of #9467 and #6775 broke this.

A builtBy dependency is added if the artifact is a TaskDependencyContainer,

which all Providers are (#9467). This dependency was silently doing

nothing in case of a plain File/String. This became an error (#6775)

because a File/String is nothing that can be resolved to a task.

We now only add a builtBy dependency, if the provider value or content is

actually produced by a task.

Fix Groovy samples about transitive dependencies

It was using the deprecated `compile` instead of using `api` through the

application of the `java-library` plugin.

Remove remaining polymorphism

Remove remaining polymorphism

More statics

More statics

More statics

Consolidate the name of the resulting root node

Let the test fixture contain the initial root