Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Associate rejected versions with their constraint or rule

This commit reworks the mapping between rejected versions and

version selectors, so that we can make the difference between

a version which was rejected by a selector (regular or constraint)

or a rule. Then the dependency insight report can properly show

what versions were rejected in which context.

  1. … 4 more files in changeset.
Dogfood new ktlint-convention plugin version

it now lints .kts files too

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

Bump :plugins-experiments version

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

Upgrade default ktlint version to 0.23.1

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

Upgrade shadow plugin in :plugins-experiments

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

Upgrade ktlint-gradle to 4.0.0

and remove workarounds

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

Fix compilation failure

A little polish to remove some weird explicit lookups

e.g., task.get().getOutputs.getFiles() can just be "task"

Merge remote-tracking branch 'origin/lacasseio/lazy/ide'

* origin/lacasseio/lazy/ide:

Fix CI failures due to exception cause not showing up the console

Fix rebase changes

Use task constructor arguments

Make checkstyle happy

Revert unecessary changes

Reverse the ownership between the model and tasks

Add `createLater` API for task constructor args

Fix bad casting in IDE native project

Fix binary compatibility

Convert `idea` and `eclipse` plugin to lazy configuration

Merge pull request #5545 from gradle/sg/lazy/configure-delegate

Decorate TaskProvider

Update tests to differentiate FAILED from REJECTED case

Previously, these tests for multi-selector resolution were reporting

`REJECTED` when in fact the resolution result FAILED.

Update tests to differentiate FAILED from REJECTED case

Previously, these tests for multi-selector resolution were reporting

`REJECTED` when in fact the resolution result FAILED.

Add test coverage for proposed behaviour for 'prefer'

Test is currently ignored, pending implementation.

Revert behavior around task removal from the container

Use a real conflict resolver in `SelectorStateResolverTest`

Use a real conflict resolver in `SelectorStateResolverTest`

Merge branch 'release'

Move worker daemon expiration to WorkerDaemonClientsManager

Fix codenarc build scan values

Some violations don't have a message, but a source line instead.

Add integration test for multiple dependency reasons on same module

Add integration test for multiple dependency reasons on same module

Move buildscript block to the top

Remove unnecessary @LeaksFileHandles and fork = true

These were added to work around file leaks in the

in-processor Java/Groovy compilers, which were fixed

in previous commits. This makes the tests faster and

also makes sure that we will spot any future leaks

that could make our user's life harder.

Close classloaders after Groovy compilation finishes

The Groovy compiler was keeping jars open because its

classloaders were never closed. This lead to file leaks

and "can't delete file" issues.

Clean the javac zip file cache after compilation

javac uses a shared cache that can't be disabled

and which keeps jar files open. We clean that cache

manually to prevent file leaks and "can't delete file"

issues.

Collect all rejections during dependency resolution

This commit collects all rejections during dependency resolution,

so that we can properly show them in the dependency insight report.

This highlights some consistency/readability issues, like when a

rejection originates from a constraint. For this reason this commit

does **not** pass tests, and is just the first step towards better

rendering.

  1. … 12 more files in changeset.
Collect all rejections during dependency resolution

This commit collects all rejections during dependency resolution,

so that we can properly show them in the dependency insight report.

This highlights some consistency/readability issues, like when a

rejection originates from a constraint. For this reason this commit

does **not** pass tests, and is just the first step towards better

rendering.

  1. … 12 more files in changeset.
Close the file manager after compilation

Otherwise it might keep open file handles.

Fix annotation processor discovery file leak

On Java 8 and below, the default annotation processor

discovery of javac leaks file handles. This is now fixed

by always using our own discovery, which we had introduced

for incremental annotation processing.

This also uncovered some discrepancies how our compiler worked

with and without incremental compilation. It now behaves consistently.

Apply mirror script in buildscript{}