DefaultCppApplicationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use public services in native plugins to construct `FileCollection` instances, rather than using internal `FileOperations`.

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

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

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

  1. … 22 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. … 24 more files in changeset.
Break association between current and software model type

Move `NativePlatform` getter to internal type.

  1. … 68 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. … 122 more files in changeset.
Remove unused references to TargetMachineFactory

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

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

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

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

  1. … 35 more files in changeset.
Use immutable file collections whenever possible (#5797)

- Stop DefaultProject implementing FileOperations/ProcessOperations

- Stop BasicScript implementing FileOperations/ProcessOperations

- FileResovler.resolveUri() is not nullable

  1. … 38 more files in changeset.
Use native variant identity for name suffix

  1. … 8 more files in changeset.
Fix `DefaultCppApplicationTest`

Added a display name for each native component implementation.

Added a convenience to `Describables` to format a display name for an object with a type and a name.

  1. … 16 more files in changeset.
Added methods to the various native component types to allow implementation and API dependencies to be declared on the component instance instead of on the project's `dependencies` block, for consistency with the binaries.

  1. … 32 more files in changeset.
Moved responsibility for defining the Maven publications for a native component down to the `NativeBasePlugin` and out of the various C++ plugins.

Also publish the static variant of a C++ library if it is defined.

  1. … 17 more files in changeset.
Changed construction of the binaries of a native component to avoid leaking the services used by the binary implementations into the components.

  1. … 14 more files in changeset.
Fixing tests

Signed-off-by: Daniel Lacasse <daniel@gradle.com>

  1. … 31 more files in changeset.
Add support for debuggable release variant for Cpp projects

  1. … 26 more files in changeset.
Implement static library and statically linked executable

  1. … 37 more files in changeset.
Fix unit tests with new CppBinary properties

  1. … 3 more files in changeset.
Added `ObjectFactory.property(Class)` as a replacement for `ProviderFactory.property(Class)`. Changed all usages to use the new method.

  1. … 40 more files in changeset.
Added a couple of query methods to the C++ model, to remove some assumptions from various plugins.

  1. … 15 more files in changeset.
Changed the C++ plugins so that `Configuration` instances are created and wired up as the convention plugins register components and binaries, rather than assuming that exactly one variant of exactly one component is produced by a project.

This change doesn't add any public mechanism for registering components or binaries, it simply removes some assumptions from the various plugins.

  1. … 17 more files in changeset.
Added some initial modelling of the debug and release variants of a C++ application and library.

    • -0
    • +31
    ./DefaultCppApplicationTest.groovy
  1. … 13 more files in changeset.