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

    • -2
    • +1
    ./visualstudio/internal/DefaultVisualStudioProjectTest.groovy
    • -2
    • +1
    ./visualstudio/internal/VisualStudioProjectRegistryTest.groovy
  1. … 31 more files in changeset.
Use public services in native plugins to construct `FileCollection` instances, rather than using internal `FileOperations`.

    • -2
    • +1
    ./visualstudio/internal/DefaultVisualStudioProjectTest.groovy
    • -2
    • +1
    ./visualstudio/internal/VisualStudioProjectRegistryTest.groovy
  1. … 31 more files in changeset.
Ensure solution file generation is deterministic

  1. … 1 more file in changeset.
Support multi-project with some unbuildable project

  1. … 2 more files in changeset.
Fix test failures on Windows

    • -1
    • +2
    ./visualstudio/internal/VisualStudioProjectRegistryTest.groovy
  1. … 2 more files in changeset.
Fix more CI failures

    • -10
    • +14
    ./visualstudio/internal/DefaultVisualStudioProjectTest.groovy
    • -3
    • +8
    ./visualstudio/internal/VisualStudioProjectRegistryTest.groovy
  1. … 1 more file in changeset.
Ensure all files are created the same (through the `FileOperations`)

    • -3
    • +3
    ./visualstudio/internal/VisualStudioProjectRegistryTest.groovy
Fix CI failures

    • -3
    • +7
    ./visualstudio/internal/DefaultVisualStudioProjectTest.groovy
    • -1
    • +1
    ./visualstudio/internal/VisualStudioProjectRegistryTest.groovy
  1. … 1 more file in changeset.
Streamline Visual Studio IDE plugin with Xcode for unbuildable components

    • -1
    • +6
    ./visualstudio/internal/VisualStudioProjectRegistryTest.groovy
  1. … 12 more files in changeset.
Allow Visual Studio IDE generation for unbuildable architecture

    • -1
    • +2
    ./visualstudio/internal/VisualStudioProjectRegistryTest.groovy
  1. … 10 more files in changeset.
Allow the services required by a given class to be queried prior to creating any instances of that class. Use this to allow `ArtifactTransformDependencies` to be injected into artifact transforms using any of the service injection patterns (that is, via a constructor or a getter).

    • -1
    • +1
    ./visualstudio/internal/DefaultVisualStudioProjectTest.groovy
    • -1
    • +1
    ./visualstudio/internal/NativeSpecVisualStudioTargetBinaryTest.groovy
    • -1
    • +1
    ./visualstudio/internal/VisualStudioProjectRegistryTest.groovy
  1. … 125 more files in changeset.
Replace most direct usages of `DirectInstantiator` with indirect usages via `InstantiatorFactory` or test fixtures instead. This means more consistent behaviour in unit tests because the objects under test will behave more similarly to how they do at runtime. This also allows the decision of how the instantiation should behave to live in as few places as possible, so this can be more easily evolved and contextualized.

    • -2
    • +3
    ./visualstudio/internal/DefaultVisualStudioProjectTest.groovy
    • -3
    • +6
    ./visualstudio/internal/NativeSpecVisualStudioTargetBinaryTest.groovy
    • -2
    • +2
    ./visualstudio/internal/VisualStudioProjectRegistryTest.groovy
  1. … 58 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

    • -4
    • +5
    ./visualstudio/internal/NativeSpecVisualStudioTargetBinaryTest.groovy
    • -1
    • +2
    ./visualstudio/internal/VisualStudioProjectRegistryTest.groovy
  1. … 121 more files in changeset.
Move knowledge of whether an IDE project should or should not be included in a generated IDE workspace into the `IdeArtifactRegistry`. Change `ProjectStateRegistry` so that it does not need to care whether a project belongs to an implicitly defined build or not.

This change also includes some method renames for clarity.

    • -1
    • +1
    ./visualstudio/internal/VisualStudioProjectRegistryTest.groovy
  1. … 23 more files in changeset.
Changed IDE plugins so that they use strongly typed objects across Gradle project boundaries to describe the IDE projects produced for the project, rather than attempting to encode information into file names and existing `PublishArtifact` properties.

Changed the Eclipse and Visual Studio plugins to expose a single IDE project object rather than a bunch of individual "artifacts" across project boundaries. In particular, the Visual Studio plugin no longer exposes artificial artifacts to describe each configuration of the Visual Studio project.

    • -9
    • +6
    ./visualstudio/internal/VisualStudioProjectRegistryTest.groovy
    • -26
    • +11
    ./visualstudio/tasks/internal/VisualStudioSolutionFileTest.groovy
  1. … 26 more files in changeset.
Added a location property to `IdeWorkspace` and use this to configure the 'open' task for an IDE workspace. Also changed the IDE lifecycle task, such as `idea` or `xcode`, to log the generated workspace location as a clickable link to make it easier for a developer to open the workspace from the command-line.

    • -0
    • +59
    ./visualstudio/plugins/VisualStudioPluginTest.groovy
    • -2
    • +11
    ./xcode/plugins/XcodePluginTest.groovy
  1. … 14 more files in changeset.
Introduced an `IdeWorkspace` abstraction that represents a generated "workspace". Changed the IDEA project and Visual Studio solution types to extend this. Added a public API to expose the Xcode workspace.

    • -0
    • +50
    ./xcode/plugins/XcodePluginTest.groovy
  1. … 10 more files in changeset.
Changed the Visual Studio plugin to generate a project file that targets the version of Visual Studio and SDK that used by the build, on the assumption that the user will open the project in the same version. This avoids the upgrade dialog that used to appear when opening a generated Visual Studio project in VS 2017, and also configures VS 2017 so that it discovers the C standard library headers.

This change only works for the new C++ plugins. The software model plugins now assume VS 2015 and SDK 8.1.

    • -9
    • +9
    ./visualstudio/internal/DefaultVisualStudioProjectTest.groovy
  1. … 11 more files in changeset.
Cleanup some of the CppBinary visual studio target binaries

    • -2
    • +2
    ./visualstudio/internal/NativeSpecVisualStudioTargetBinaryTest.groovy
    • -2
    • +2
    ./visualstudio/internal/VisualStudioProjectRegistryTest.groovy
  1. … 8 more files in changeset.
Add support for Visual Studio with the new native plugins

    • -12
    • +81
    ./visualstudio/internal/NativeSpecVisualStudioTargetBinaryTest.groovy
    • -48
    • +1
    ./visualstudio/internal/VisualStudioProjectMapperTest.groovy
    • -3
    • +5
    ./visualstudio/internal/VisualStudioProjectRegistryTest.groovy
  1. … 12 more files in changeset.
Only create one visual studio solution per build

    • -18
    • +8
    ./visualstudio/internal/DefaultVisualStudioProjectTest.groovy
    • -1
    • +21
    ./visualstudio/internal/VisualStudioProjectRegistryTest.groovy
    • -47
    • +42
    ./visualstudio/tasks/internal/VisualStudioSolutionFileTest.groovy
  1. … 26 more files in changeset.
Remove BuildableComponentSpec from VS project and solution objects

- Implement Named, Buildable instead

- Move non-dsl methods to internal interface

- Remove some now unnecessary references to projectPath

    • -2
    • +1
    ./visualstudio/internal/DefaultVisualStudioProjectTest.groovy
    • -1
    • +1
    ./visualstudio/internal/VisualStudioProjectRegistryTest.groovy
  1. … 12 more files in changeset.
Simplify relationship between VisualStudioProjectConfiguration and VisualStudioTargetBinary

    • -3
    • +2
    ./visualstudio/internal/VisualStudioProjectConfigurationTest.groovy
    • -12
    • +8
    ./visualstudio/internal/VisualStudioProjectMapperTest.groovy
    • -27
    • +15
    ./visualstudio/internal/VisualStudioProjectRegistryTest.groovy
  1. … 6 more files in changeset.
Remove Java8-specific getOrDefault() in favor of Groovy get()

    • -4
    • +4
    ./visualstudio/internal/VisualStudioProjectMapperTest.groovy
Move VisualStudioExtension to a project extension

    • -1
    • +1
    ./visualstudio/internal/VisualStudioProjectRegistryTest.groovy
  1. … 5 more files in changeset.
Detangle software model objects from visual studio model

    • -36
    • +35
    ./visualstudio/internal/DefaultVisualStudioProjectTest.groovy
    • -0
    • +271
    ./visualstudio/internal/NativeSpecVisualStudioTargetBinaryTest.groovy
    • -154
    • +2
    ./visualstudio/internal/VisualStudioProjectConfigurationTest.groovy
    • -94
    • +25
    ./visualstudio/internal/VisualStudioProjectMapperTest.groovy
    • -24
    • +26
    ./visualstudio/internal/VisualStudioProjectRegistryTest.groovy
  1. … 15 more files in changeset.
Prefix Xcode-Gradle bridge properties with org.gradle.internal.xcode.bridge

  1. … 2 more files in changeset.
Pass Xcode parameters via project properties instead of environment variables

This works around issues with JDK9 environment variable passing

https://github.com/gradle/gradle-native/issues/280

    • -0
    • +75
    ./xcode/internal/XcodePropertyAdapterTest.groovy
  1. … 5 more files in changeset.
Add XCode support for Swift project (#2579)

Reusing the IDE generator task infrastructure from Idea and Eclipse. The code for generating Xcode files comes from the Bazel tool which in turn comes from Buck tool. Xcode support for Swift code works with executables, libraries, and multi-projects.

    • -0
    • +54
    ./xcode/tasks/internal/XcodeSchemeFileTest.groovy
    • -0
    • +53
    ./xcode/tasks/internal/XcodeWorkspaceSettingsFileTest.groovy
  1. … 65 more files in changeset.
Remove eclipse-cdt plugin

+review REVIEW-5999

    • -58
    • +0
    ./cdt/model/CprojectSettingsSpec.groovy
    • -48
    • +0
    ./cdt/model/ProjectDescriptorSpec.groovy
  1. … 16 more files in changeset.