Klasse ProjectDependency
java.lang.Object
org.gradle.plugins.ide.eclipse.model.AbstractClasspathEntry
org.gradle.plugins.ide.eclipse.model.ProjectDependency
- Alle implementierten Schnittstellen:
ClasspathEntry
A classpath entry representing a project dependency.
-
Feldübersicht
Von Klasse geerbte Felder org.gradle.plugins.ide.eclipse.model.AbstractClasspathEntry
accessRules, COMPONENT_DEPENDENCY_ATTRIBUTE, COMPONENT_NON_DEPENDENCY_ATTRIBUTE, entryAttributes, exported, path -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungProjectDependency(Node node) ProjectDependency(String path) Create a dependency on another Eclipse project. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidbuildDependencies(Object... buildDependencies) Sets the tasks to be executed to build the file returned bygetPublication()booleanReturns the tasks to be executed to build the file returned bygetPublication()getKind()Returns the file that can replace this ProjectDependencyReturns the javadoc artifact of the project publicationReturns the source artifact of the project publicationinthashCode()voidsetPublication(FileReference publication) Sets the file that can replace this ProjectDependencyvoidsetPublicationJavadocPath(FileReference publicationJavadocPath) Sets the javadoc artifact of the project publicationvoidsetPublicationSourcePath(FileReference publicationSourcePath) Sets the source artifact of the project publicationtoString()Von Klasse geerbte Methoden org.gradle.plugins.ide.eclipse.model.AbstractClasspathEntry
addClasspathEntry, appendNode, getAccessRules, getEntryAttributes, getNativeLibraryLocation, getPath, isExported, normalizePath, setAccessRules, setExported, setNativeLibraryLocation, setPath, writeEntryAttributes
-
Konstruktordetails
-
ProjectDependency
-
ProjectDependency
Create a dependency on another Eclipse project.- Parameter:
path- The path to the Eclipse project, which is the name of the eclipse project preceded by "/".
-
-
Methodendetails
-
getPublication
Returns the file that can replace this ProjectDependency- Seit:
- 5.6
-
setPublication
Sets the file that can replace this ProjectDependency- Seit:
- 5.6
-
getPublicationSourcePath
Returns the source artifact of the project publication- Seit:
- 5.6
- Siehe auch:
-
setPublicationSourcePath
Sets the source artifact of the project publication- Seit:
- 5.6
- Siehe auch:
-
getPublicationJavadocPath
Returns the javadoc artifact of the project publication- Seit:
- 5.6
- Siehe auch:
-
setPublicationJavadocPath
Sets the javadoc artifact of the project publication- Seit:
- 5.6
- Siehe auch:
-
getBuildDependencies
Returns the tasks to be executed to build the file returned bygetPublication()This property doesn't have a direct effect to the Gradle Eclipse plugin's behaviour. It is used, however, by Buildship to execute the configured tasks each time before the user imports the project or before a project synchronization starts in case this project is closed to build the substitute jar.
- Seit:
- 5.6
-
buildDependencies
Sets the tasks to be executed to build the file returned bygetPublication()- Seit:
- 5.6
- Siehe auch:
-
equals
- Setzt außer Kraft:
equalsin KlasseAbstractClasspathEntry
-
hashCode
public int hashCode()- Setzt außer Kraft:
hashCodein KlasseAbstractClasspathEntry
-
getKind
-
toString
- Setzt außer Kraft:
toStringin KlasseAbstractClasspathEntry
-