visualstudio

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

    • -2
    • +1
    ./internal/DefaultVisualStudioProjectTest.groovy
    • -2
    • +1
    ./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
    ./internal/DefaultVisualStudioProjectTest.groovy
    • -2
    • +1
    ./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

    • -2
    • +66
    ./tasks/internal/VisualStudioSolutionFileTest.groovy
  1. … 2 more files in changeset.
Fix test failures on Windows

    • -1
    • +2
    ./internal/VisualStudioProjectRegistryTest.groovy
    • -5
    • +11
    ./tasks/internal/VisualStudioSolutionFileTest.groovy
  1. … 2 more files in changeset.
Fix more CI failures

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

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

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

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

    • -1
    • +2
    ./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
    ./internal/DefaultVisualStudioProjectTest.groovy
    • -1
    • +1
    ./internal/NativeSpecVisualStudioTargetBinaryTest.groovy
    • -1
    • +1
    ./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
    ./internal/DefaultVisualStudioProjectTest.groovy
    • -3
    • +6
    ./internal/NativeSpecVisualStudioTargetBinaryTest.groovy
    • -2
    • +2
    ./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
    ./internal/NativeSpecVisualStudioTargetBinaryTest.groovy
    • -1
    • +2
    ./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
    ./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
    ./internal/VisualStudioProjectRegistryTest.groovy
    • -26
    • +11
    ./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
    ./plugins/VisualStudioPluginTest.groovy
  1. … 15 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
    ./internal/DefaultVisualStudioProjectTest.groovy
    • -3
    • +55
    ./tasks/internal/VisualStudioProjectFileTest.groovy
  1. … 11 more files in changeset.
Cleanup some of the CppBinary visual studio target binaries

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

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

    • -18
    • +8
    ./internal/DefaultVisualStudioProjectTest.groovy
    • -1
    • +21
    ./internal/VisualStudioProjectRegistryTest.groovy
    • -47
    • +42
    ./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
    ./internal/DefaultVisualStudioProjectTest.groovy
    • -1
    • +1
    ./internal/VisualStudioProjectRegistryTest.groovy
  1. … 12 more files in changeset.
Simplify relationship between VisualStudioProjectConfiguration and VisualStudioTargetBinary

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

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

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

    • -36
    • +35
    ./internal/DefaultVisualStudioProjectTest.groovy
    • -0
    • +271
    ./internal/NativeSpecVisualStudioTargetBinaryTest.groovy
    • -154
    • +2
    ./internal/VisualStudioProjectConfigurationTest.groovy
    • -94
    • +25
    ./internal/VisualStudioProjectMapperTest.groovy
    • -24
    • +26
    ./internal/VisualStudioProjectRegistryTest.groovy
    • -10
    • +6
    ./tasks/internal/VisualStudioSolutionFileTest.groovy
  1. … 15 more files in changeset.
Cleanup test outputs for 'ide-native' subproject

  1. … 1 more file in changeset.
Changed the various visual studio model types to honour the `AbstractBuildableModelElement` contract.

All subtypes now honour this contract, so removed the broken constructor.

    • -6
    • +12
    ./internal/DefaultVisualStudioProjectTest.groovy
    • -1
    • +3
    ./internal/VisualStudioProjectRegistryTest.groovy
  1. … 8 more files in changeset.
Move PreprocessingTool to live with Tool

Classycle be praised.

+review REVIEW-5706

    • -1
    • +1
    ./internal/VisualStudioProjectConfigurationTest.groovy
  1. … 12 more files in changeset.
Include tool properties on `NativeBinarySpecInternal` and re-enable unit test

    • -26
    • +7
    ./internal/VisualStudioProjectConfigurationTest.groovy
  1. … 6 more files in changeset.
Temporarily ignore test

    • -0
    • +3
    ./internal/VisualStudioProjectConfigurationTest.groovy