Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Reinstate requirement for removal details in deprecation notices (#6080)

* Reinstate requirement for removal details in deprecation notices

If something is deprecated, it must be removed at some point (otherwise there is no point). Removing doesn't have to mean “physically” removing the _thing_. In the case in question, we will be removing the functionality but keeping the method (because its part of an interface we have to fulfill).

Remove unnecessary cache invalidation

Merge branch 'master' into eskatos/wrapper/with-kotin-dsl-0.19.0

Merge pull request #6087 from gradle/eskatos/perf/fix-many-deprecation

Add a settings script to "create many deprecations" perf test

Revert "Clean up distributions at most every 24 hours"

This reverts commit d997fd68ece6591bf3f882b94220030899a5b4f9.

Clean up distributions at most every 24 hours

Since the distribution cleanup was made independent of the

version-specific cache cleanup in #5981, it was run every time the

daemon was stopped. Now, instead of introducing yet another

`gc.properties` file, it is only executed if version-specific cache

cleanup was executed but regardless whether the latter actually deleted

something.

Fixes #6083.

Clean up distributions at most every 24 hours

Since the distribution cleanup was made independent of the

version-specific cache cleanup in #5981, it was run every time the

daemon was stopped. Now, instead of introducing yet another

`gc.properties` file, it is only executed if version-specific cache

cleanup was executed but regardless whether the latter actually deleted

something.

Fixes #6083.

Preserve and return a proper `OriginTaskExecutionMetadata` value

That's better behaviour but it still doesn't fix the interaction with

the `build-scan` plugin. That will require removing an assumption from

the plugin about caching operations only happening during task

execution.

Return a boolean from `PendingSource#removePending`

This allows the caller to know if a pending provider was effectively

removed from the pending list.

Extract `containsBuildScanPluginOutput()` matcher

Polish `AbstractIntegrationTest`

Add a settings script to "create many deprecations" perf test

So it doesn't use the root settings script and root buildSrc.

Which was making it sensitive to changes in the `gradle/gradle` build.

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

Rebaseline GradleInceptionPerformanceTest

to account for breaking changes in kotlin-dsl 0.19.0

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

Enable `kotlin-dsl` plugin progressive mode

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

Polish buildSrc/build.gradle.kts

by removing unused imports

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

Rebaseline and re-enable `configure largeJavaMultiProjectKotlinDsl`

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

Revert to reified syntax

and remove now moved upstream kotlin-dsl extensions

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

Re-enable ktlint-convention plugin

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

Handle closures with arg count != 1 properly

Also fix a bug when calling zero-length methods on decorated listeners

Update wrapper to latest nightly

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

    • -1
    • +1
    /gradle/wrapper/gradle-wrapper.properties
Simplify MerkleDirectorySnapshotBuilder a little

Let kotlin-dsl plugin not force KotlinCompile tasks realization

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

Mention contributor in release note

    • -0
    • +1
    /subprojects/docs/src/docs/release/notes.md
Describe JavaExec argument parsing in JavaDocs (#6081)

Merge pull request #6066 from gradle/oehme/incremental-compile/intern-on-deserialize

Intern class names when reading back from the cache

Merge pull request #6076 from gradle/oehme/performance/investigate-regression

Make URI scheme matching faster

Recover Experiemental stage to Java 11

    • -10
    • +2
    /.teamcity/Gradle_Check/model/CIBuildModel.kt
Fix tests, mark more internal listeners

  1. … 8 more files in changeset.
Emit execution op for various listeners

  1. … 14 more files in changeset.
Separate 'prefer' and 'require' in dependency versions

When we introduced the ability to declare a 'preferred' version on

a dependency declaration, this was implemented such that declaring

a "required" dependency version using `org:foo:1.0` was effectively

the same as declaring a "preferred" version `org:foo { prefer '1.0' }`.

In order to differentiate between the behaviour of required and

preferred dependency versions, this commit introduces a separate

model for these constraint types. This model is published to

Gradle `.module` metadata files, and is retained internally

throughout dependency resolution.

At this stage, the behaviour of required and preferred versions

is identical. A later commit will introduce the behavioural

difference.

  1. … 22 more files in changeset.