Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix a number of review comments

  1. … 12 more files in changeset.
Polish code encapsulation

Because of some automated refactorings some things were visible

when they shouldn't.

  1. … 4 more files in changeset.
Enable ArtifactTransformInputArtifactIntegrationTest for VFS retention

The test should work now since we updated the native platform snapshot on

`master`.

Introduce a terse console output for verification failures

This commit switches from a verbose console output when

dependency verification errors occur, to a terse version

which basically only links to the rich report.

It's still possible to use the verbose output by configuring

the build with the Gradle `org.gradle.dependency.verification.console`

property (usual places apply).

  1. … 9 more files in changeset.
Introduce an HTML report for dependency verification

This commit introduces a dependency verification report.

This report is generated for each build which has at least

one dependency verification fatal failure. The goal is to

replace the full, plain text report with a more concise

text block, less intimidating, and redirect to the HTML

report for completeness.

Currently, this report is _always_ generated, and the

console report is left untouched. However, another commit

will replace the console report with a shorter version,

with the ability to configure to build to always use the

long console report version (in case for example it's not

simple to retrieve an HTML report from a CI build).

The HTML report explains what errors the user is facing

in context, and links to the documentation for further

details.

  1. … 13 more files in changeset.
Do not write the source paths for a `CopySpec` multiple times to the instant execution cache.

Previously, these were written once when the `CopySpec` was serialized and once when the associated input property spec was serialized.

This commit adds some special case handling for this case. It also preserves the identity of each `FileTree` and `FileCollection` instance for each task to enable short circuiting when the same file collections are referenced via multiple paths, such as in the `CopySpec` case.

  1. … 28 more files in changeset.
Ignore `ArtifactTransformInputArtifactIntegrationTest` on macOS

Support accessors for gradle metadata

Signed-off-by: Benjamin Muskalla <bmuskalla@gradle.com>

  1. … 1 more file in changeset.
Fix Unrolled tests with partial success with instant execution

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

  1. … 17 more files in changeset.
Rework API to expose selectors

This allows to expose metadata for multiple artifacts.

Selectors are now also exposed for Ivy components.

Signed-off-by: Benjamin Muskalla <bmuskalla@gradle.com>

  1. … 5 more files in changeset.
Fix Kotlin DSL code generation fixture

The configuration creation block was causing an ambiguous

method selection error.

  1. … 4 more files in changeset.
Add accessors for sourced attributes within metadata rules

If a component metadata rule needs to rewrite dependencies

based on either the original maven pom classifier or type,

these are now exposed on the dependencies within the metadata

rule.

Fixes #11975

Signed-off-by: Benjamin Muskalla <b.muskalla@gmail.com>

  1. … 5 more files in changeset.
Fix Kotlin DSL constraints block

This commit introduces a workaround for the Kotlin DSL

which doesn't delegate the constraints block to the right

delegate type. The consequence is that constraints were

mixed with dependencies when using extension methods defined

on the `DependencyConstraintHandlerScope`, because the compiler

didn't realize that the receiver type was indeed this scope.

  1. … 6 more files in changeset.
Performance optimization for verification

Dependency verification may produce a number of

verification events which are only relevant if,

eventually, a fatal verification failure occurs.

If it's not the case, there will not be any

verification failure, therefore it's unnecessary

to perform formatting of an error message.

Previously, we would always check for verification

failures even if, in the end, there would only

be non fatal ones, which slows down IDE syncing.

  1. … 1 more file in changeset.
Performance optimization for verification

Dependency verification may produce a number of

verification events which are only relevant if,

eventually, a fatal verification failure occurs.

If it's not the case, there will not be any

verification failure, therefore it's unnecessary

to perform formatting of an error message.

Previously, we would always check for verification

failures even if, in the end, there would only

be non fatal ones, which slows down IDE syncing.

  1. … 1 more file in changeset.
Tweak error messages

  1. … 2 more files in changeset.
Add test case showing errors with Kotlin DSL

This commit mostly introduces a new (experimental) test fixture

which aims at making it possible to generate both Groovy and Kotlin

DSL scripts and therefore running integration tests with both enabled.

It's obviously not for all tests, but in this case it highlights that

the Kotlin DSL has several issues with the dependency constraint handler.

See #9249

  1. … 24 more files in changeset.
Serialize more details of the project hierachy to the instant execution cache, so that each project's project directory is correct.

Also correctly recreate the project hierarchy. Previously some projects would not be connected to their parent project.

  1. … 17 more files in changeset.
Improve Maven snapshot test coverage

Rework test to make sure it exercises the different cases with and

without Gradle Module Metadata.

Fixes #11710

Do not attempt to do a selection if no selector is available (#12055)

  1. … 2 more files in changeset.
Track currently deselecting node to break another case of local cycle (#12046)

If we get to a 'reselect endorsing node' situation through a node

that is deselected and from which the endorsed node (platform node)

is a child, we can not go back to that node as it is responsible

for triggering the reselection in the first place.

Without this fix, the endorsing node was attempted to be cleaned

several times causing a ConcurrentModificationException on the

outgoing edges list (without that hard break, it would have run

in an endless loop).

  1. … 7 more files in changeset.
Add incubating message for the shared dependency cache

  1. … 1 more file in changeset.
Fix issue with capability and virtual platforms

As the engine now properly supports disambiguating variants of the same

module, it is no longer needed to ignore virtual platform references

when dealing with capabilities conflicts.

Fixes #12011

  1. … 1 more file in changeset.
Add documentation link to deprecated artifact transforms behaviour

  1. … 1 more file in changeset.
Add user guide links to configuration deprecations for consumption

  1. … 2 more files in changeset.
Add test showing we can keep-alive daemons in containers

  1. … 1 more file in changeset.
Set category attribute to 'library' for compile and runtime classpath

Otherwise Gradle may attempt to match variants of other categories

if the category=library variants to not fit (in which case Gradle

should fail).

  1. … 12 more files in changeset.
Reactivate reselection on selector removal

Fixes #6567

The remaining issue reported in #11789 is fixed by the previous commit.

  1. … 1 more file in changeset.
Add test to reproduce exception on re-selection

https://github.com/gradle/gradle/issues/11789#issuecomment-572777215

Add test case for read-only cache with containers

This commit introduces a test case to check that it's actually

possible to run concurrent docker containers using the same

shared, read-only, dependency cache. It acts both as a test

case and documentation, as mounting the cache as a read-only

volume in Docker is the recommended behavior.

  1. … 17 more files in changeset.