Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Replace several more usages of direct `FileCollection` implementation instantiation with a factory method.

Remove/deprecate a couple of `FileCollection` implementations, as these can now be replaced with public API factory methods instead.

The deprecation is intended to be tempory, until the play plugin can be updated to use public APIs instead, then the implementation will be removed.

    • -2
    • +2
    ./language/c/tasks/CCompileTest.groovy
    • -2
    • +2
    ./language/cpp/tasks/CppCompileTest.groovy
  1. … 42 more files in changeset.
Report the chain of properties from which a mapped `Provider` has come from, when the value is missing.

    • -2
    • +1
    ./language/internal/DefaultBinaryCollectionTest.groovy
  1. … 30 more files in changeset.
When a property has no value, include the chain of properties from which the value is derived in the error message.

This is intended to help with diagnostics, as the user can see where the value should have come from. In this change, the diagnostics only works when `Property<T>` instances are connected together directly, stopping at the first `Provider<T>` which is not such a type.

    • -4
    • +4
    ./language/internal/DefaultBinaryCollectionTest.groovy
  1. … 33 more files in changeset.
Do not publish stale signature files

This commit fixes the publication of stale signature files:

prior to this change it was possible that a signature generated

in a previous build for a different artifact was uploaded even

if no signature was generated during the build, which would

lead to inconsistent publications.

In addition, it makes it an error to publish something which

doesn't have the main artifact created (or, at least up-to-date)

in this build. In other words, if the task which generates the

main artifact is disabled, it's an error to publish.

Other stale artifacts are going to be ignored.

Fixes #5136

  1. … 38 more files in changeset.
Normalize include paths when necessary

  1. … 1 more file in changeset.
Normalize include paths

Absolute paths which enter the virtual file system need to be

normalized.

  1. … 1 more file in changeset.
Address more review feedback

  1. … 1 more file in changeset.
Use a virtual file system everywhere

  1. … 15 more files in changeset.
Replace remaining usages of FileSystemSnapshotter

  1. … 22 more files in changeset.
Fail rather than emitting a deprecation warning when the value of a `Property` typed task property is changed after the task starts execution.

Also include the property display name, if attached, in the 'cannot change the value' error messages.

    • -1
    • +1
    ./language/cpp/plugins/CppLibraryPluginTest.groovy
  1. … 24 more files in changeset.
Attach a display name to the value of `Property` typed properties for decorated types.

In this commit, this is applied only to read-only properties with non-final getters.

  1. … 4 more files in changeset.
Fix NativeBasePluginTest to not use outdated API

  1. … 1 more file in changeset.
Fix tests

  1. … 1 more file in changeset.
Specialize getBinaries from XCTest components

  1. … 7 more files in changeset.
Remove some empty lines

Wrap the patternSet

Instead of using a strategy.

  1. … 35 more files in changeset.
Do not use PatternSet in snapshots package

Use a pluggable type instead.

  1. … 41 more files in changeset.
Add support and test coverage for Swift 5

  1. … 44 more files in changeset.
Use public services in native plugins to construct `FileCollection` instances, rather than using internal `FileOperations`.

  1. … 27 more files in changeset.
Remove unnecessary constructor argument

  1. … 6 more files in changeset.
Differentiate between artifacts that are dirs/zips

- Add artifactType attributes to the api configuration and published

artifact.

- Recognize directory artifacts and add explicit artifactType (instead

of "")

  1. … 8 more files in changeset.
Convert cpp headers zip handling to artifact transform

  1. … 6 more files in changeset.
Remove `getUsage` from `UsageContext`

This `Usage` is an artifact of migration. `UsageContext` is mostly representing

what an outgoing published variant is, but this `Usage` is preventing us from

doing smarter things. What we really care about is the attributes of published

variants, and their name for publication.

  1. … 16 more files in changeset.
Address code review comment

  1. … 48 more files in changeset.
Revert `SwiftTargetMachine` to `SwiftPlatform`

  1. … 19 more files in changeset.
Revert `CppTargetMachine` to `CppPlatform`

  1. … 18 more files in changeset.
Spelling (#8199)

Fix several spelling issues.

  1. … 36 more files in changeset.
Move Swift source compatibility to `SwiftTargetMachine` on `SwiftBinary`

This commit still doesn't consider the source compatibility when

selecting the tool chain.

  1. … 16 more files in changeset.
Break association between current and software model type

Move `NativePlatform` getter to internal type.

  1. … 59 more files in changeset.
spelling: resolvable

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

  1. … 7 more files in changeset.