Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Temporarily use 5.6 as the baseline for Santa Tracker `assembleDebug` case.

This was scenario made faster when transform nodes for external files were accidentally not scheduled, at the cost of making the clean cache case much slower. These nodes are now scheduled again, making this scenario slower. Use 5.6 as the baseline to ensure this doesn't become worse than 5.6.

Align implementations of artifact identifier display names

DefaultModuleComponentArtifactIdentifier now behaves similar as

ComponentFileArtifactIdentifier (showing the full actual file name).

This means that the artifact name used during reporting now

contains the version at the usual position in the file name.

This way it shows the actual file name for artifacts originating

from pom-only maven repositories (except snapshots, which show the

SNAPSHOT placeholder) and ivy repositories with default pattern.

The motivation for this alignment is to get the same representation for

the same file, independent of whether it was sourced from traditional

or Gradle module metadata.

  1. … 18 more files in changeset.
Do not drop variant attributes in results based on maven artifacts

FixedComponentArtifacts dropped the variant attributes (stored in

ConfigurationMetadata) for no clear reason. Because of this, the

attributes in the resolve result differed depending on whether the

variant was constructed from pom or GMM.

This is only affecting the attributes reported in the result. During

matching, which happens earlier, all attributes were already considered.

  1. … 3 more files in changeset.
Merge pull request #10327 from gradle/eskatos/smoke/android-3.5.0

Smoke test Android Gradle Plugin 3.5.0

Module test fixture: add 'category' attribute to api/runtime variants

This reflects the default variant attributes of a published

java component.

Replace `FileResolver.resolveFilesAsTree()` and `compositeFileTree()` with `FileCollectionFactory`.

  1. … 30 more files in changeset.
Replace usages of `FileResolver.resolveFile()` with `FileCollectionFactory.resolving()` or `FileOperations.immutable()`, so that `FileResolver` can be responsible only for converting scalar values to File-ish values.

  1. … 27 more files in changeset.
Let :instantExecution integration tests use repository mirrors

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

Merge pull request #10328 from gradle/eskatos/ie/more-android-tasks

Integ test more AGP tasks with instant-execution

Fix AttributeConfigurationSelector to return the filtered result

Update instant-execution android test project to Studio 3.6 template

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

Integ test more AGP tasks with instant-execution

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

Bump smoke tests daemon metaspace to load more plugin versions

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

Bump smoke tested AGP 3.4.x to latest minor 3.4.2

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

Smoke test Android Gradle Plugin 3.5.0

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

Add a codec to serialize `ConcurrentHashMap` instances to the instant execution cache.

Introduce a factory service to create instances of `TaskDependency`, to allow the implementations to be contextualized and to use types that aren't part of the (internal) core API.

Use this factory in `DefaultConfigurableFileCollection`.

  1. … 25 more files in changeset.
Replace some direct instantiation of `FileResolver` instances with a service.

  1. … 10 more files in changeset.
Merge pull request #10318 from gradle/bamboo/ie/serializable/ii

Improve instant execution support of Java serialization

Replace `nullOutputStream()` by `NullOutputStream.INSTANCE`

Signed-off-by: Rodrigo B. de Oliveira <rodrigo@gradle.com>

Suppress `unused` warnings from test

Polish `DefaultInstantExecution`

- Prefer expression chain over `if`/`else`

- Avoid intermediate collection allocation

- Compose method for clarity

Let instant execution report include trace of `Serializable` beans

Remove `mainApkListPersistenceDebug` from the list of unsupported tasks

Introduce `BeanStateReader.newBeanWithId(id: Int)`

And dedupe identity registration code.

Move identity preserving combinators to `Codec.kt`

Merge pull request #10296 from gradle/eskatos/ie/it-agp-3.6

Integration test AGP 3.6 nightly with instant execution

Preserve identity of `Serializable` objects

Polish `SerializableWriteObjectCodec`

- Make cheaper `parameterCount` comparison first

Extract `SerializableWriteReplaceCodec` from `BeanCodec`