Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Decorate all domain collection container for emitting build ops (#7876)

* Update all domain object container with decorator for tracing executed callback actions

* Add decorator to a ll required occurances of DefaultDomainObjectSet

* Keep ctor for DefaultPolymorphicDomainObjectContainer as its used in gradle-idea-ext plugin

* Bring back DefaultDomainObjectSet constructor used by the android plugin

* keep backwards compatibility

  1. … 121 more files in changeset.
Fix unit test

Remove unused references to TargetMachineFactory

  1. … 10 more files in changeset.
Change `ObjectFactory` to create collection and map properties whose initial value is an empty collection or map, and add a `convention()` method for collection properties. The "convention" for a property is the value to use when none has been explicitly specified for the property. This changes adds this for collection properties for now. It will be added for all lazy types later.

  1. … 30 more files in changeset.
Move `TargetMachineFactory#host()` to internal API

  1. … 23 more files in changeset.
Generalize variant generating code for all native plugins

  1. … 9 more files in changeset.
Isolate native service and class within `platformNative` project

  1. … 49 more files in changeset.
Rework `ProjectPublicationRegistry` API so that different kinds of local publications can carry different information.

  1. … 18 more files in changeset.
Allow plugins defined in included builds to be resolved using the `plugins { }` block.

The `plugins { }` block in a build script will now substitute a binary plugin with a plugin that has the requested plugin id and that is defined in an included build using the `java-gradle-plugin` plugin. Does not substitute plugins defined in the root build, or in the consuming included build, or in any source dependency. Does not substitute plugins that are not defined using the `java-gradle-plugin`.

  1. … 23 more files in changeset.
Remove all architectures except x86 and x86-64

  1. … 3 more files in changeset.
Change x64() to x86_64()

  1. … 6 more files in changeset.
Move TargetMachineFactory up to a project service

  1. … 46 more files in changeset.
Add support for declaring target machines

  1. … 29 more files in changeset.
Change the C++ tooling model builder so that it does not attempt to resolve task dependencies to infer how to build the various C++ binaries, Instead add properties to the C++ project model to allow the builder to query these tasks and build logic to explicitly define what they should be.

  1. … 15 more files in changeset.
Change C++ incremental compile to take preprocessor macros defined on the compile task into account when resolving macro includes.

  1. … 14 more files in changeset.
Add `HasMultipleValue.finalizeValue()` method to allow the value of a collection property to be made final. Attempts to change the property value after this method is called will fail.

Use this in the native plugins and remove the internal `LockableCollectionProperty` implementation as it is no longer needed.

    • -1
    • +1
    ./language/cpp/plugins/CppLibraryPluginTest.groovy
  1. … 18 more files in changeset.
Add `Property.finalizeValue()` method to allow the value of a property to be made final. Attempts to change the property value after this method is called will fail.

Use this in the Swift plugins and remove the internal `LockableProperty` implementation as it is no longer needed.

  1. … 23 more files in changeset.
Split off value snapshotting and attributes related methods of TestUtil

  1. … 64 more files in changeset.
Support propagation of the producer task for provider instances that are created using `Provider.map()`.

Now, when a provider represents a task or task output, whether mapped or not, that task is taken as the producer of the value and the mapping function is not called. Otherwise, the value of the provider is unpacked and resolved, as it previously was.

Rework the protocol by which providers communicate their build dependencies to consumers.

  1. … 32 more files in changeset.
Replace all usages of the property factory methods on `ProjectLayout` and `DefaultTask` with the factory methods on `ObjectFactory`.

  1. … 40 more files in changeset.
Replace internal `SourceDirectorySetFactory` with a method on public `ObjectFactory` service, to allow plugins to create instances of this type without resorting to using internal types.

  1. … 44 more files in changeset.
Move snapshotting files to own package

  1. … 132 more files in changeset.