DefaultSwiftApplicationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix for previous commit.

  1. … 1 more file in changeset.
Fix for previous commit.

  1. … 1 more file 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. … 5 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. … 5 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.
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 `SwiftTargetMachine` to `SwiftPlatform`

  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.
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

    • -2
    • +13
    ./DefaultSwiftApplicationTest.groovy
  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.
Rename OperatingSystemFamily.MAC_OS to MACOS

  1. … 4 more files in changeset.
Fix failing unit tests

  1. … 3 more files in changeset.
Fix tests and share code between C++ and Swift

    • -1
    • +10
    ./DefaultSwiftApplicationTest.groovy
  1. … 15 more files in changeset.
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.
Rename source compatibility property and fix CI failures

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

  1. … 19 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.
Add support for configuring Swift language support of a component

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

  1. … 32 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
    • +11
    ./DefaultSwiftApplicationTest.groovy
  1. … 31 more files in changeset.
Transfer ownership of setting the development binary to the plugin

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

  1. … 2 more files in changeset.
Migrate `developmentBinary` to a `Provider`

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

  1. … 18 more files in changeset.
Changed the `SwiftBinaryContainer` implementation to enforce a basic lifecycle for each element in the container, so that an element cannot be seen outside the container until it has been configured. Also enforces a basic lifecycle for the container itself, so that further elements cannot be added once the elements are visible outside the container.

Elements are no longer configured when added to the collection and instead configured later, as a step towards configuring elements only as required.

  1. … 6 more files in changeset.
Avoid creating the binary eagerly for the Swift application

Query method for executable binaries were also added.

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

    • -9
    • +24
    ./DefaultSwiftApplicationTest.groovy
  1. … 20 more files in changeset.
Add support for debuggable release variant for Swift projects

  1. … 40 more files in changeset.