Package org.gradle.ide.visualstudio
Interface VisualStudioProject
-
public interface VisualStudioProject extends Named, Buildable
A visual studio project, created from one or more native binaries.The content and location of the generate project file can be modified by the supplied methods:
plugins { id 'cpp' id 'visual-studio' } model { visualStudio { projects.all { projectFile.location = "vs/${name}.vcxproj" projectFile.withXml { asNode().appendNode('PropertyGroup', [Label: 'Custom']) .appendNode('ProjectDetails', "Project is named ${project.name}") } } } }
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.gradle.api.Named
Named.Namer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TaskDependencygetBuildDependencies()Returns a dependency which contains the tasks which build this artifact.XmlConfigFilegetFiltersFile()Configuration for the generated filters file.java.lang.StringgetName()The object's name.XmlConfigFilegetProjectFile()Configuration for the generated project file.
-
-
-
Method Detail
-
getProjectFile
@Internal @Incubating XmlConfigFile getProjectFile()
Configuration for the generated project file.
-
getFiltersFile
@Internal @Incubating XmlConfigFile getFiltersFile()
Configuration for the generated filters file.
-
getBuildDependencies
@Internal @Incubating TaskDependency getBuildDependencies()
Description copied from interface:BuildableReturns a dependency which contains the tasks which build this artifact. AllBuildableimplementations must ensure that the returned dependency object is live, so that it tracks changes to the dependencies of this buildable.- Specified by:
getBuildDependenciesin interfaceBuildable- Returns:
- The dependency. Never returns null. Returns an empty dependency when this artifact is not built by any tasks.
-
-