Package org.gradle.ide.visualstudio
Schnittstelle VisualStudioSolution
- Alle Superschnittstellen:
Buildable,Describable,IdeWorkspace,Named
A visual studio solution, representing one or more native binaries in a build.
The content and location of the generate solution file can be modified by the supplied methods:
plugins {
id 'visual-studio'
}
model {
visualStudio {
solution {
solutionFile.location = "vs/${name}.sln"
solutionFile.withContent { TextProvider content ->
content.asBuilder().insert(0, "# GENERATED FILE: DO NOT EDIT\n")
content.text = content.text.replaceAll("HideSolutionNode = FALSE", "HideSolutionNode = TRUE")
}
}
}
}
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.gradle.api.Named
Named.Namer -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns a dependency which contains the tasks which build this artifact.Returns the display name of this object.Returns the location of the generated solution file.getName()The object's name.Configuration for the generated solution file.
-
Methodendetails
-
getSolutionFile
Configuration for the generated solution file. -
getLocation
Provider<RegularFile> getLocation()Returns the location of the generated solution file.- Angegeben von:
getLocationin SchnittstelleIdeWorkspace
-
getBuildDependencies
Beschreibung aus Schnittstelle kopiert: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.- Angegeben von:
getBuildDependenciesin SchnittstelleBuildable- Gibt zurück:
- The dependency. Never returns null. Returns an empty dependency when this artifact is not built by any tasks.
-
getName
String getName()Beschreibung aus Schnittstelle kopiert:NamedThe object's name.Must be constant for the life of the object.
-
getDisplayName
String getDisplayName()Beschreibung aus Schnittstelle kopiert:DescribableReturns the display name of this object. It is strongly encouraged to compute it lazily, and cache the value if it is expensive.- Angegeben von:
getDisplayNamein SchnittstelleDescribable- Gibt zurück:
- the display name
-