BinaryFlavorsIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

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

  1. … 872 more files in changeset.
Annotate integ tests failing with instant execution in :platformNative

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

  1. … 24 more files in changeset.
Annotate integ tests failing with instant execution in :platformNative

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

  1. … 24 more files in changeset.
Fixed int tests for changes in error message when task dependencies cannot be calculated.

  1. … 6 more files in changeset.
Removed `@LeaksFileHandles` from ':platform-native'

  1. … 17 more files in changeset.
Changed the behaviour for views of subtypes of `ModelMap` when the subject of rule, so that reads are not allowed. This is consistent with the behaviour for `ModelMap`.

  1. … 11 more files in changeset.
Fold NativeComponentRules into NativeComponentModelPlugin

+review REVIEW-5808

  1. … 5 more files in changeset.
Use a consistent task naming scheme for the lifecycle and worker tasks of native binaries.

Also fixed up the descriptions of these tasks.

  1. … 14 more files in changeset.
Changed the naming scheme for output directories for native components, to simplify the paths and reduce their length. Also split up the 'binaries' directory into 'exe' and 'libs'.

  1. … 58 more files in changeset.
Changed the JVM and native component plugins to use names for binaries that reflect the role they play.

Now that more than one component may have a binary with a given name, use:

- `jar` as the name for a Jar binary that belongs to a JVM library

- `executable` as the name for an executable that belongs to a native application

- `sharedLibrary` and `staticLibrary` as the name for the binaries of a native library.

These can later turn into static properties of the appropriate `ComponentSpec` types.

There is a breaking change in this commit: the lifecycle task name and output directory name of the binaries of components with multiple variants now include the component name at the start of the name, rather than somewhere in the middle.

  1. … 26 more files in changeset.
Fixed broken int tests following refactor.

  1. … 2 more files in changeset.
Changed a bunch of int tests to use `binaries` from model land rather than legacy land.

  1. … 11 more files in changeset.
More leaks file handles.

  1. … 2 more files in changeset.
Add back more @LeaksFileHandles.

  1. … 7 more files in changeset.
Fix some @LeaksFileHandles issues.

  1. … 5 more files in changeset.
Shows more concise names for rule source method rules

+review

  1. … 32 more files in changeset.
Fixes for model reuse.

- Don't close over the container in the creator for bridged collection elements

- Don't close over tool chain and other non reusable dependencies in the native component model

+review

  1. … 34 more files in changeset.
Mark more tests as leaking file handles.

+review REVIEW-5504

  1. … 1 more file in changeset.
Changed `NativePlatforms` so that it its methods are not static.

  1. … 13 more files in changeset.
Wrap exceptions thrown by self closing task container and realizing tasks when selecting tasks for execution in ProjectConfigurationException

+review REVIEW-5370

  1. … 20 more files in changeset.
Don't graph-close task container model node when selecting tasks for execution

+review REVIEW-5370

  1. … 37 more files in changeset.
Move model registry validation (as it is) to the point where we realize the task container.

This follows the precedent of CoD in that configuration problems in projects that aren't required won't surface.

This is also not the final state of meta model validation, but restores some parity after recent selective task closing changes.

+review REVIEW-5335

  1. … 24 more files in changeset.
Realize the task container on demand.

+review REVIEW-5335

  1. … 21 more files in changeset.
Changed tests so they no longer declare duplicate components. This is not supported by the DSL any more.

  1. … 5 more files in changeset.
Fix tests and samples for removed ‘libraries’ extension

  1. … 8 more files in changeset.
Renamed NativePlatforms.defaultName -> NativePlatforms.defaultPlatformName

  1. … 7 more files in changeset.
Migrate most platform-native integration tests to define components within model block

    • -124
    • +70
    ./BinaryFlavorsIntegrationTest.groovy
  1. … 16 more files in changeset.
Further simplification of native platform construction

- Moved initialization of canned instances to new class NativePlatforms

- Removed the need for a default instance to be maintained

  1. … 13 more files in changeset.
Default canned platforms are does the same in native and jvm

Now compiles.

Some failing tests.

  1. … 11 more files in changeset.
Renamed package org.gradle.nativebinaries -> org.gradle.nativeplatform

    • -0
    • +227
    ./BinaryFlavorsIntegrationTest.groovy
  1. … 837 more files in changeset.