Class ProjectDependency
java.lang.Object
org.gradle.plugins.ide.eclipse.model.AbstractClasspathEntry
org.gradle.plugins.ide.eclipse.model.ProjectDependency
- All Implemented Interfaces:
- ClasspathEntry
A classpath entry representing a project dependency.
- 
Field SummaryFields inherited from class org.gradle.plugins.ide.eclipse.model.AbstractClasspathEntryaccessRules, COMPONENT_DEPENDENCY_ATTRIBUTE, COMPONENT_NON_DEPENDENCY_ATTRIBUTE, entryAttributes, exported, path
- 
Constructor SummaryConstructorsConstructorDescriptionProjectDependency(Node node) ProjectDependency(String path) Create a dependency on another Eclipse project.
- 
Method SummaryModifier and TypeMethodDescriptionvoidbuildDependencies(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()Methods inherited from class org.gradle.plugins.ide.eclipse.model.AbstractClasspathEntryaddClasspathEntry, appendNode, getAccessRules, getEntryAttributes, getNativeLibraryLocation, getPath, isExported, normalizePath, setAccessRules, setExported, setNativeLibraryLocation, setPath, writeEntryAttributes
- 
Constructor Details- 
ProjectDependency
- 
ProjectDependencyCreate a dependency on another Eclipse project.- Parameters:
- path- The path to the Eclipse project, which is the name of the eclipse project preceded by "/".
 
 
- 
- 
Method Details- 
getPublicationReturns the file that can replace this ProjectDependency- Since:
- 5.6
 
- 
setPublicationSets the file that can replace this ProjectDependency- Since:
- 5.6
 
- 
getPublicationSourcePathReturns the source artifact of the project publication- Since:
- 5.6
- See Also:
 
- 
setPublicationSourcePathSets the source artifact of the project publication- Since:
- 5.6
- See Also:
 
- 
getPublicationJavadocPathReturns the javadoc artifact of the project publication- Since:
- 5.6
- See Also:
 
- 
setPublicationJavadocPathSets the javadoc artifact of the project publication- Since:
- 5.6
- See Also:
 
- 
getBuildDependenciesReturns 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. - Since:
- 5.6
 
- 
buildDependenciesSets the tasks to be executed to build the file returned bygetPublication()- Since:
- 5.6
- See Also:
 
- 
equals- Overrides:
- equalsin class- AbstractClasspathEntry
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- AbstractClasspathEntry
 
- 
getKind
- 
toString- Overrides:
- toStringin class- AbstractClasspathEntry
 
 
-